augment_predict: Adds prediction outputs to data based on model and formula

Description Usage Arguments Value Author(s)

Description

Adds prediction outputs to data based on model and formula

Usage

1
augment_predict(.data, model, model.per = NULL, ...)

Arguments

.data

data to use for model fitting

model

model function to use (e.g 'lm')

model.per

a formula representing all terms to group data by to fit individual models (e.g. ~ am + vs)

...

additional arguments to be passed to the model function, prefixed with 'model' (eg. model.singular.ok = FALSE)

Value

a data frame with new columns based on model fit

Author(s)

Doug Kelkhoff kelkhoff.douglas@gene.com


lengning/gClinBiomarker documentation built on May 9, 2019, 2:55 p.m.