View source: R/predictUnivariate.R
predictUnivariate | R Documentation |
Predict univariate result for BKMR-DLM
predictUnivariate(
object,
points = 20,
crossM,
qtl = 0.5,
return_post = FALSE,
center = 3
)
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. |
a dataframe containing predicted values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.