View source: R/estimate_semipmetric_erf.R
estimate_semipmetric_erf | R Documentation |
Estimates the smoothed exposure-response function using a generalized additive model with splines.
estimate_semipmetric_erf(formula, family, data, ...)
formula |
a vector of outcome variable in matched set. |
family |
a description of the error distribution (see ?gam). |
data |
dataset that formula is build upon Note that there should be a
|
... |
Additional parameters for further fine tuning the gam model. |
This approach uses Generalized Additive Model (gam) using mgcv package.
returns an object of class gam
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.