Skip to content

Commit

Permalink
document new conditional_values()
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsimpson committed Nov 25, 2024
1 parent 0f779c0 commit 01753cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## New features

* `conditional_values()` and its `draw()` method compute and plot predictions
from a fitted GAM that are conditional on one or more covariates. The
function is a wrapper around `fitted_values()` but allows the user simple ways to specify which covariates to condition on and at what values those covariates should take. It provides similar functionality to
`marginaleffects::plot_predictions()`, but is simpler. See #300.

* `penalty()` and `basis()` can now allow the smooth to be reparameterized such
that the resulting basis has an identity matrix. This more clearly highlights
the penalty null space, the functions that the penalty has no effect on.
Expand Down Expand Up @@ -39,6 +44,9 @@
the scale parameter but the master table has `"phi"` coded as the synonym.
Now both work as expected.

* `level()` assumed that `level` would have only a single value even though it
could handle multiple levels. #321

# gratia 0.9.2

## Breaking changes
Expand Down

0 comments on commit 01753cf

Please sign in to comment.