Description Usage Arguments Value Author(s) Examples
View source: R/CalcEnSlideDist.R
Calculates Sliding Entropy for groups of interest in dataframes. Instead of returning a mean, return the value for all windows.
1 2 3 4 5 6 7 8 | CalcEnSlideDist(
entmeasure = "FastSampEn",
df,
varlist,
r_thrsh = 0.2,
size = 200,
N = 200
)
|
entmeasure |
chosen entropy measure. Either FastSampEn or FastApEn. String |
df |
input cgms.df dataframe |
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 |
ofint |
variable of interest to calculate entropy on from the datagrame. String |
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.