create_newdata_inla: Create a new data set using 'inla$.args$data' and 'newdata'

Description Usage Arguments Details Value

View source: R/augment_inla.R

Description

Create a new data set using inla$.args$data and newdata.

Usage

1
create_newdata_inla(.result, newdata)

Arguments

.result

inla object.

newdata

Dataframe of new data. The column with the response (outcome, dependent variable) must be filled with NAs.

Details

Run inla with new data to allow the use of summary.linear.predictor, summary.fitted.values, marginlas.linear.predictor, etc.

Value

List with the following items

data

augmented inla$.args$data with newdata.

new_pos

positions of the newdata.


FrankLef/eflINLA documentation built on Dec. 17, 2021, 8:30 p.m.