lmcpp: Fitting Linear Model

Description Usage Arguments Value

View source: R/lmcpp.R

Description

"lmcpp" is used to fit simple linear model.

Usage

1
lmcpp(formula, data, model = FALSE, prt = FALSE)

Arguments

formula

a symbolic description of the model to be fitted with specific pattern (i.e. y ~ x1 + x2 where y is the responding variable; x1 and x2 are the covariates for the model)

data

an optional data frame, list or environment containing the variables in the model. If not found in data, the variables are taken from formula.

model

logical; if TRUE, the design matrix for model fitting will be computed.

prt

logical; if TRUE, a formated output will be printed on the screen.

Value

A list containing the following elements


strongbeamsprout/lmcpp documentation built on Nov. 27, 2019, 12:29 a.m.