dppredictive: Prediction for 'straussR' objects.

Description Usage Arguments Value

View source: R/interpretation_functions.R View source: R/interpretation_functions.R

Description

Prediction for straussR objects.

Posterior predictive distribution of a straussR object.

Usage

1
2
3
dppredictive(x, object)

dppredictive(x, object)

Arguments

x

Covariates.

object

A straussR object.

y

The point where the density is predicted.

n

Number of observations.

log

Logical; If TRUE, returns the logarithm of the density.

x

Numeric. A vector of points where the posterior predictive distribution is to be evaluated.

object

A straussR object.

Value

A vector of densities with the same arity as y.

A vector of densities with the same arity as x.


JonasMoss/straussR documentation built on May 17, 2019, 7:02 p.m.