Description Usage Arguments Value See Also Examples
This function generates the data frame necessary for trelliscope visualization.
1 2 3 |
lis |
the list of activity data, with each element corresponding to the observation by one individual and the name of each element coresponding to the individual id. Specifically, each element is a |
id |
a vector of id names corresponding to the |
varlis |
optional data frame to be merged to activity data, and the covariates are of interest for plotting to see activity differences. The first variables needs to be "ID". |
smband |
smoothing parameter for plotting smoothed activity data. the default is 1/12 (see function |
maxday |
maxday the maximal number of days per individual in the observation, used to check the data format. The default is 14. |
plot.ind |
whether to plot individual mean activity plots. If not, plot day activity plots. The default is TRUE. |
plot.ori |
whether to plot the original activity curves (tend to have large variations). The default is TRUE. |
plot.sm |
whether to plot lowess of the activity curves. The default is TRUE. |
plot.tre |
whether to generate trelliscope plots. If so, no data will be returned; if not, a data frame will be returned containing all information including trelliscope panels. To generate trelliscope based on the data, one needs to set all activity list columns to NULL. The default is FALSE. |
plot.tre.path |
If plot.tre is TRUE, then plot.tre.path specifies the path to generate trelliscope files. The default is current working directory. |
The data frame including activity, filtering stats, optional covariates, and trelliscope panels. (No data frame will be returned if plot.tre is TRUE.)
1 2 3 4 5 6 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.