(see in R notebook)
library(mHealthR)
mhealth
named list stores constants in a hierarchical structure. You can run str(mhealth)
to display them compactly.
Use mhealth$filetype
sub list to query available file types which are often required for other mhealth
functions.
str(mhealth$filetype)
As an example,
# validate sensor file mhealth.validate(filename, mhealth$filetype$sensor)
Use mhealth$format
sub list to query datetime and other format for mhealth specification.
str(mhealth$format)
Use mhealth$example
sub list to examples of filenames or csv files for mhealth specification.
mhealth$example$filename
)str(mhealth$example$filename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.