DOC.boot | R Documentation |
Bootstraps for loess, negative slope and fns
DOC.boot(do, R = 100, subr = NULL, pair = NULL, mov.avg = 5, span = 0.2, degree = 1, family = "symmetric", iterations = 4, surface = "interpolate", cores = 1)
do |
Output from |
R |
Number of bootstraps |
subr |
If NULL will do bootstrap, alternatively an integer denoting size of subsample |
pair |
A vector of length two with names of pairs |
mov.avg |
Moving average window to use for estimating where negative slope starts |
span |
Span of loess smoothing |
degree |
Degree of loess smoothing (If 1 linear, >1 polynomial) |
family |
"gaussian" is least-squares fitting, "symmetric" is robust fitting |
iterations |
Number of iterations for robust fitting |
surface |
"direct" estimation (slow exact) or "interpolate" estimation (fast approximate) |
cores |
Number of cores to use |
Output: A list with:
A dataframe of loess for each bootstrap,
a numeric with estimated slope from lme on data subsetted to Overlap values above median for each bootstrap,
a numeric with estimated point of where negative slope starts (moving average of loess used) for each bootstrap,
and a numeric with estimated Fns value for each bootstrap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.