University of Amsterdam / Amsterdam University of Applied Sciences
3 files

Wii Balance Board validation: R scripts

Version 2 2024-07-17, 10:19
Version 1 2023-11-08, 09:39
posted on 2024-07-17, 10:19 authored by Tom VredeveldTom Vredeveld

This FigShare item

This item contains several scripts to perform and reproduce the analysis that are obtained for a study on the concurrent validity of the Wii Balance Board (WBB) and Kistler force plate (KP).

About the study 

The scripts presented are used for a study to validate the WBB synchronously with the Kistler force plate. The study consisted of two measurements, three bipedal (two legs standing still) trials and six unipedal trials (standing still on one leg). For each task, the scripts create a 'segment' from the COP antero-posterior and medio-lateral (latero-lateral) signals and calculate COP parameters. These include: standard deviation of unidimensional displacement (COPx, COPy), mean velocity of unidimensional displacement (COPx, COPy), total COP pathlength and 95% Predicted Ellipse Area. 

R Scripts & R Markdown

The R scripts in this file contain three scripts: 1) bipedal-analysis, 2) unipedal-analysis and 3) manuscript-plots. 

The first two scripts are used to calculate the ICC and descriptive statistics between measurements of the COP parameters per individual generated by the MATLAB scripts, first, concurrent validity between the WBB and KP is calculated by ICC for a first and second measurement serie. Then test-retest reliability scripts are provided.

The scripts are Rmd or RMarkdown scripts create ‘huxtables’ to support the knitting of the document to a Word (.docx) table. 

The psd script can be used to reproduce the power spectrum analysis and reproduce the figure as published in the final manuscript (see resource DOI below)

To obtain and create COP data and parameters

For the scripts used to obtain and create COP data and related parameters from individual subject files, please check the other item in this FigShare project including MATLAB scripts, which can be found here: 

How to use

It may be possible that the scripts do not work for your own analysis, but are provided as ‘building blocks’ to replicate or analyse your own COP signal data. Therefore be advised to check the fixed variables at the start of scripts and take a thorough look at the rest of the script before attempting to run it. If you are not able to get it to work, please feel free to get in touch.


The item is part of a publication. Please cite our article if you decide to use (parts of) the items provided here, see the resource DOI below.


NWO 023.013.042


Retention period


Priority area

  • Urban Vitality

Usage metrics

    Amsterdam University of Applied Sciences




    Ref. manager