Description Usage Arguments Value
This function makes the empty data frames for storing time-series event/signal data. Removes data in simulated dataset that does not overlap (in time) with observed data.
1 | segmentTS.mkdf(df.obs, df.sim, func.var, date.var)
|
df.obs |
data.frame object based on ccgcrv output for observational data. At minimum, requires variables of values and date (YYYY-MM-DD) |
df.sim |
data.frame object based on ccgcrv output for simulated data At minimum, requires variables of values and date (YYYY-MM-DD) |
func.var |
name of variable for data values. Must have same name in both df.obs and df.sim. |
date.var |
name of variable for dates. Must have same name in both df.obs and df.sim. |
a list object with two data.frames, df.obs.evnt, df.sim.evnt formatted with new variable names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.