stepper | R Documentation |
For a set of covariates for which estimates have been obtained on non-continguous dates, expand recorded data values to fill in all dates, so as to create a step-like function.
stepper(df, varVec, min.date, max.date)
df |
A data frame containing variables recorded via non-continguous
|
varVec |
A string vector containing the names of variables for which
step-expansion is required. Typically set to
|
min.date |
The start date for data to include. This is a text string in
the format |
max.date |
The end date for data to include. Same format as
|
The stepper
function is usually only called within
eff_model
when applying previously obtained enhanced efficiency
model results.
A dataframe with one row for all unique batchDates
included
within min.date
and max.date
, inclusive. All variables, as
provided via varVec
, have a non-NA
value.
WEST Inc.
eff_model
## Not run: df <- stepper(df=df, varVec=c("bdMeanNightProp","bdMeanMoonProp","bdMeanForkLength"), min.date=min.date, max.date=max.date) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.