predictUnivariate: Predict univariate result for BKMR-DLM

View source: R/predictUnivariate.R

predictUnivariateR Documentation

Predict univariate result for BKMR-DLM

Description

Predict univariate result for BKMR-DLM

Usage

predictUnivariate(
  object,
  points = 20,
  crossM,
  qtl = 0.5,
  return_post = FALSE,
  center = 3
)

Arguments

object

An object of class bkmrdlm.

points

Number of points to predict at

crossM

Exposure to set a cross section quantile for

qtl

quantile for the cross section

return_post

Logical indicating if the full posterior should be returned or only the summary. The default is FALSE.

center

Indicator of the form of centering. A value of 1 does no centering and the exposure-response function includes an intercept and uncertainty about the intercept. A value of 2 centers the exposure-response to be zero at mean weighted exposure A value results in a mean zero exposure response and remove uncertainty about the intercept. The default is center=3.

Value

a dataframe containing predicted values.


AnderWilson/regimes documentation built on Aug. 5, 2023, 8:30 a.m.