Description Usage Arguments Value Author(s) Examples
Calculates Sliding Entropy for groups of interest in dataframes
1 2 3 4 5 6 7 8 9 | CalcEnSlide(
df,
entmeasure = "FastSampEn",
ofint = "historic_glucose",
varlist,
r_thrsh = 0.2,
size = 200,
step = 1
)
|
df |
input cgms.df dataframe |
entmeasure |
chosen entropy measure. Either FastSampEn or FastApEn. String |
ofint |
variable of interest to calculate entropy on from the datagrame. String |
varlist |
Which groups to separate dataframe by |
r_thrsh |
what is the tolerance value r. This is multiplied by the sd of the whole ofint column. |
size |
the window size |
step |
step length |
dataframe with the entropy value for each group in varslist
Samuel Hamilton
1 | CalcEnSlide(df = cgms.df,varlist = c("Group"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.