For one set of transformed covariates (not including the variable of interest), calculate the predicted level and standard error for the variable of interest.
1 2 3 4 5 6 7 8 9 10 |
df_levels |
data.frame, already transformed for variables not related to the variable of interest |
model |
model object |
type |
either effects or levels |
base_rn |
numeric, row number of the base level |
vcov_mat |
matrix, variance-covariance matrix |
weights |
vector of weights, or NULL |
deriv_func |
function for the derivative of the predicted outcomes |
link_func |
function to transform output of 'predict' method into response scale |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.