diff --git a/R/performance_pcp.R b/R/performance_pcp.R index 653c4afa5..edcf4c724 100644 --- a/R/performance_pcp.R +++ b/R/performance_pcp.R @@ -112,13 +112,13 @@ print.performance_pcp <- function(x, digits = 2, ...) { #' @export as.data.frame.performance_pcp <- function(x, row.names = NULL, ...) { data.frame( - "Model" = c("full", "null"), - "Estimate" = c(x$pcp_model, x$pcp_m0), - "CI_low" = c(x$model_ci_low, x$null_ci_low), - "CI_high" = c(x$model_ci_high, x$null_ci_high), - "Chisq" = c(NA, x$lrt_chisq), - "df_error" = c(NA, x$lrt_df_error), - "p" = c(NA, x$lrt_p), + Model = c("full", "null"), + Estimate = c(x$pcp_model, x$pcp_m0), + CI_low = c(x$model_ci_low, x$null_ci_low), + CI_high = c(x$model_ci_high, x$null_ci_high), + Chisq = c(NA, x$lrt_chisq), + df_error = c(NA, x$lrt_df_error), + p = c(NA, x$lrt_p), stringsAsFactors = FALSE, row.names = row.names, ...