predictFixed: Predict the Fixed Effect Parts of an INLA MBG Model

Description Usage Arguments Value

Description

For a given set of paramters and new dataset, get the component of the linear predictor corresponding to the fixed effects.

Usage

1
predictFixed(params, data, draw = 1, subset = NULL)

Arguments

params

an object of class params produced by getINLAParameters.

data

a dataframe with all the columns referred to in params.

draw

which parameter set to use.

subset

an optional character vector giving a subset of covariates to include in the prediction.

Value

a vector of the same length as the number of rows in data, giving the values of the linear predictor corresponding to the records in data


SEEG-Oxford/seegMBG documentation built on May 9, 2019, 11:08 a.m.