eta.lm: ETA LM

Description Usage Arguments Details Examples

View source: R/lolo.cv.R

Description

Defines a linear prediction model.

Usage

1
eta.lm(y, x, x.pred)

Arguments

y

n x 1 vector of outcomes.

x

n x p matrix of covariates.

x.pred

m x p matrix of covariates for which to predict the outcome.

Details

This function returns predictions produced by a linear model.

Examples

1

gregorywatson/lolo documentation built on May 23, 2019, 7:03 p.m.