| .maybe_prepend_baseline | R Documentation |
Checks whether the formula includes an intercept (no -1).
If so, prepends a baseline{suffix} slice of 1s along dim 3.
.maybe_prepend_baseline(arr, formula, suffix)
arr |
3-D array \[M × D × P\] or |
formula |
Formula that produced the array. |
suffix |
|
Updated array with P+1 slices, or the original if no intercept.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.