condlSample: Generate samples from conditional distribution.

Description Usage Arguments Value

View source: R/condlSample.R

Description

Generate samples from conditional distribution.

Usage

1
condlSample(object, ...)

Arguments

object

a model object with a 'predict()' method

...

arguments to be passed to individual methods. These should always include : 'newdata' - to be passed to 'predict()' function ‘quantile' - either ’random' for stochastic sampling from conditional distribution or a numeric value on (0, 1) specifying the quantile to return

Value

Numeric vector containing conditional random sample (if ‘quantile = ’random'') or conditional quantiles from condition distribution defined by 'object' and 'newdata' seealso condlSample.lm


markwh/conditionalSample documentation built on May 21, 2019, 12:26 p.m.