From f5a2e7a2b0acc9ae7b62d3aa7badf52b92ca41c6 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Fri, 6 Dec 2024 06:22:44 -0500 Subject: [PATCH] fixup --- R/predictions.R | 6 ------ 1 file changed, 6 deletions(-) diff --git a/R/predictions.R b/R/predictions.R index 8dd9cdd08..3789cb2dc 100644 --- a/R/predictions.R +++ b/R/predictions.R @@ -550,7 +550,6 @@ predictions <- function(model, attr(out, "conf_level") <- conf_level attr(out, "by") <- by attr(out, "lean") <- lean - attr(out, "vcov.type") <- vcov.type if (isTRUE(lean)) { for (a in setdiff(names(attributes(out)), c("names", "row.names", "class"))) { attr(out, a) <- NULL @@ -562,16 +561,11 @@ predictions <- function(model, attr(out, "type") <- type attr(out, "model_type") <- class(model)[1] attr(out, "model") <- model - attr(out, "variables") <- predictors attr(out, "jacobian") <- J attr(out, "vcov") <- vcov - attr(out, "vcov.type") <- vcov.type attr(out, "weights") <- marginaleffects_wts_internal - attr(out, "comparison") <- comparison attr(out, "transform") <- transform[[1]] - attr(out, "comparison_label") <- comparison_label attr(out, "hypothesis_by") <- hyp_by - attr(out, "transform_label") <- transform_label if (inherits(model, "brmsfit")) { insight::check_if_installed("brms")