lpmodel.update: Combines deterministic components and one bootstrap estimate...

View source: R/lpmodel.R

lpmodel.updateR Documentation

Combines deterministic components and one bootstrap estimate in lpmodel

Description

This function is used in the bootstrap replications to combine the deterministic components in lpmodel to the stochastic component.

Usage

lpmodel.update(lpm.de, lpm.st)

Arguments

lpm.de

The deterministic components of the lpmodel object.

lpm.st

An lpmodel object that only contains one bootstrap replication of the stochastic component(s). The deterministic component is set as NULL.

Value

Returns an lpmodel object that combines the deterministic and stochastic component.

lpm.de

An updated lpmodel object.


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.