PredictD: PredictD

View source: R/Prediction.R

PredictDR Documentation

PredictD

Description

\loadmathjax

Compute pointwise prediction in linear model

Usage

PredictD(coef, newdata)

Arguments

coef

vector containing the estimated coefficients \mjseqn\hat\beta.

newdata

data.frame whose number of rows represents the number of new data to be predicted and the number of columns must be equal to the length of coef. None check is done on the order of the variables. Hence, the user is supposed to use the same ordering of the variables that is given coef.

Value

the predicted values


lucapresicce/DescendMethods documentation built on April 26, 2022, 6 p.m.