Skip to content

Commit

Permalink
add methods for modelbased
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jan 9, 2025
1 parent 2fe0bf4 commit b636c08
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: parameters
Title: Processing of Model Parameters
Version: 0.24.0.8
Version: 0.24.0.9
Authors@R:
c(person(given = "Daniel",
family = "Lüdecke",
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ S3method(model_parameters,lqm)
S3method(model_parameters,lqmm)
S3method(model_parameters,maov)
S3method(model_parameters,marginaleffects)
S3method(model_parameters,marginaleffects_contrasts)
S3method(model_parameters,marginaleffects_means)
S3method(model_parameters,marginaleffects_slopes)
S3method(model_parameters,marginalmeans)
S3method(model_parameters,margins)
S3method(model_parameters,maxLik)
Expand Down
12 changes: 12 additions & 0 deletions R/methods_marginaleffects.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ model_parameters.comparisons <- model_parameters.marginaleffects
model_parameters.marginalmeans <- model_parameters.marginaleffects


#' @export
model_parameters.marginaleffects_means <- model_parameters.marginaleffects


#' @export
model_parameters.marginaleffects_contrasts <- model_parameters.marginaleffects


#' @export
model_parameters.hypotheses <- model_parameters.marginaleffects

Expand All @@ -73,6 +81,10 @@ model_parameters.hypotheses <- model_parameters.marginaleffects
model_parameters.slopes <- model_parameters.marginaleffects


#' @export
model_parameters.marginaleffects_slopes <- model_parameters.marginaleffects


#' @export
model_parameters.predictions <- function(model,
ci = 0.95,
Expand Down

0 comments on commit b636c08

Please sign in to comment.