Description Usage Arguments Value Note Author(s)
Essentially the part of VPC that deals with observed data. Good for finding trends in large data sets.
1 2 |
data |
data frame. Suitably filtered and containing the data to analyse. |
bins |
numeric vector giving the cut off values for the time bins (binning doesn't have to based on time - see ind_var_col). |
dv_col |
column name (default value 'DV') in data containing the experimental data (default value is 'DV') |
ind_var_col |
column name (default value 'TIME') in data containing the variable to use for binning. |
pct |
numeric vector of percentiles (default value c(10,50,90)) to calculate for the dv_col data within each bin. |
A matrix object with one column for each bin, and the following rows of summary statistics for the dv_col data within each bin (see sum_stats function documentation for descriptions):
min_ind_var_col
max_ind_var_col
n
min
max
median
arith_mean
arith_std_dev
arith_CV
geo_mean
geo_std_dev
geo_CV
requested percentiles (pct)
For a bin with limits (LOWER,UPPER), an observation will go into that bin if it is >=LOWER and <UPPER.
Rupert Austin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.