Skip to content

Commit

Permalink
Merge pull request #243 from vincentarelbundock/marginaleffects_0_17_0
Browse files Browse the repository at this point in the history
marginaleffects 0.17.0
  • Loading branch information
DominiqueMakowski authored Dec 11, 2023
2 parents 1864bab + 2b423fd commit 81e49f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: modelbased
Title: Estimation of Model-Based Predictions, Contrasts and Means
Version: 0.8.6.4
Version: 0.8.6.5
Authors@R:
c(person(given = "Dominique",
family = "Makowski",
Expand Down
2 changes: 1 addition & 1 deletion R/get_marginaleffects.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ get_marginaleffects <- function(model,
if (length(fixed) == 0) fixed <- NULL

# Compute stuff
estimated <- marginaleffects::marginaleffects(model, variables = trend, newdata = newdata, ...)
estimated <- marginaleffects::slopes(model, variables = trend, newdata = newdata, ...)

attr(estimated, "trend") <- trend
attr(estimated, "at") <- at
Expand Down

0 comments on commit 81e49f2

Please sign in to comment.