Skip to contents

One row per coefficient with the estimator, the estimate, its standard error, and confidence limits from confint(). Fits from several calls can be stacked with rbind().

Usage

# S3 method for class 'misskappa_estimate'
as.data.frame(x, row.names = NULL, optional = FALSE, level = 0.95, ...)

Arguments

x

A misskappa_estimate object.

row.names, optional

Passed for S3 conformance. row.names sets the row names of the result.

level

Confidence level for the lower and upper columns.

...

Further arguments to confint(), such as method or transform.

Value

A data frame with columns estimator, coefficient, estimate, se, lower, and upper.

Examples

fit <- agreement(dat.gwet2014, estimator = "ipw")
#> Warning: rater pair(s) rater4-rater5 co-observed by only one subject; the corresponding pairwise covariance is degenerate and the standard error unreliable.
as.data.frame(fit)
#>   estimator      coefficient  estimate        se     lower     upper
#> 1       ipw           Conger 0.4233051 0.1118890 0.2040066 0.6426036
#> 2       ipw           Fleiss 0.4182770 0.1130839 0.1966366 0.6399174
#> 3       ipw Brennan-Prediger 0.4421207 0.1212333 0.2045079 0.6797335