View source: R/SM_output.linear_re.R
SM_output.linear_re | R Documentation |
linear_re
objectProvide direct/indirect standardized differences for a random effect linear model.
## S3 method for class 'linear_re'
SM_output(fit, parm, stdz = "indirect", ...)
fit |
a model fitted from |
parm |
specifies a subset of providers for which confidence intervals are to be given.
By default, all providers are included. The class of |
stdz |
a character string or a vector specifying the standardization method(s). The possible values are:
|
... |
additional arguments that can be passed to the function. |
This function computes standardized differences for a random effect linear model using either direct or indirect methods, or both when specified. The function returns both the standardized differences and the observed and expected outcomes used for their calculation.
A list containing the standardized differences based on the method(s) specified in stdz
,
as well as the observed and expected outcomes used to calculate the standardized measures:
indirect.difference |
indirect standardized differences, if |
direct.difference |
direct standardized differences, if |
OE |
a list of data frames containing the observed and expected outcomes used for calculating standardized measures. |
data(ExampleDataLinear)
outcome <- ExampleDataLinear$Y
covar <- ExampleDataLinear$Z
ID <- ExampleDataLinear$ID
fit_linear <- linear_re(Y = outcome, Z = covar, ID = ID)
SM_output(fit_linear)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.