Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Feb 8, 2025
1 parent d1ee9c3 commit e9774cd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ Roxygen: list(markdown = TRUE)
Config/Needs/check: stan-dev/cmdstanr
Config/Needs/website: easystats/easystatstemplate
LazyData: true
Remotes: easystats/insight
20 changes: 14 additions & 6 deletions tests/testthat/_snaps/print.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@
Code
print(estimate_expectation(m, by = "spp", predict = "conditional"), zap_small = TRUE)
Output
Model-based Predictions
spp | Predicted | SE | CI
---------------------------------------
GP | 0.73 | 0.21 | [0.32, 1.14]
Expand All @@ -202,6 +204,11 @@
EC-L | 1.42 | 0.37 | [0.69, 2.14]
DES-L | 1.34 | 0.36 | [0.63, 2.04]
DF | 0.78 | 0.21 | [0.37, 1.19]
Variable predicted: count
Predictors modulated: spp
Predictors controlled: mined (yes)
Predictions are on the conditional-scale.

# print - layouts and include data grid

Expand All @@ -222,15 +229,15 @@
---

Code
print(out, select = "basic")
print(out, select = "minimal")
Output
Estimated Marginal Means
Species | Mean | 95% CI
--------------------------------
setosa | 1.46 | [1.34, 1.58]
versicolor | 4.26 | [4.14, 4.38]
virginica | 5.55 | [5.43, 5.67]
Species | Mean (CI)
------------------------------
setosa | 1.46 (1.34, 1.58)
versicolor | 4.26 (4.14, 4.38)
virginica | 5.55 (5.43, 5.67)
Variable predicted: Petal.Length
Predictors modulated: Species
Expand Down Expand Up @@ -281,4 +288,5 @@
Variable predicted: wt
Predictors modulated: qsec
Predictors controlled: mpg (20)

0 comments on commit e9774cd

Please sign in to comment.