Description Usage Arguments Value
Get the marginal effect of a continuous viewpoint.
1 2 3 4 | get_marginal(x, viewpoint)
## S3 method for class 'viewpoint_regression'
get_marginal(x, viewpoint)
|
x |
Object from which to extract the marginal effect. |
viewpoint |
Character string identifying the viewpoint whose marginal effect should be extracted. |
A tibble
with the following columns:
feature_rel
- Relative feature value,
where 0 is the minimum theoretically possible feature value found when
computing the model matrix (i.e. looking over the full alphabet
of possible chord continuations),
and 1 is the maximum such value.
feature_raw
- Absolute feature value.
feature_obs
- TRUE
if the feature value falls within
the range of actually observed feature values in the model matrix.
effect
- The resulting effect, i.e the resulting
contribution to the model's linear predictor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.