createEquation: createEquation writes an equation based on a data.frame (or...

Description Usage Arguments Value Author(s)

View source: R/createEquation.R

Description

createEquation writes an equation based on a data.frame (or data.table), bootstraping a set of covariates around the standard error present in the table.

Usage

1
createEquation(model, replicates = 100)

Arguments

model

data.frame. Needs to have as column names 'Coefficient', and 'Value' and 'StdErr' for a given parameter. The model table NEEDS to have at least two rows, one being the 'Intercept' as 'Coefficient'. If 'Intercept' is not found, it enters browser() mode.

replicates

numeric. Number of repetitions to be added to the bootstrapping.

Value

As with archivist::cache, returns the value of the function call or the cached version (i.e., the result from a previous call to this same cached function with identical arguments).

Author(s)

Tati Micheletti


tati-micheletti/usefun documentation built on June 29, 2020, 9:31 a.m.