Description Usage Arguments Value
View source: R/function_apcomp.R
Average predictive comparisons
1 |
m |
model object. The function accepts model classes |
u |
character string indicating input variable of interest. |
v |
character string indicating variables other than the input variable of interest. By default, the function uses all the variables except |
y_scale |
function transforming the scale of the response variable. If NULL (default), the function extracts an inverse link function from the model object |
u_scale |
function transforming the scale of the input variable |
n_sim |
number of simulations for estimating uncertainty of the average predictive comparison |
estimate
point estimate of average predictive comparison
sim_estimate
simulated estimate of average predictive comparison
sim_se
standard error of simulated average predictive comparison
df_uv
data frame of squared mahalanobis distance (sq_distance
) with input values of u and v.
df_u1v1
data frame of u1 and v1.
df_u2v1
data frame of u2 and v1.
interaction_term
interaction terms involving input u.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.