Plots 1D smooth effects for a function-on-scalar model fitted with
pffr
. Additionally, Marra \& Wood (2012) or bootstrapped-based confidence
intervals (CIs) can be plotted, specifying the plot_type
argument.
1 2 3 |
model |
Function-on-scalar model fitted with |
plot_type |
Either 1 (plotting CIs after Marra \& Wood (2012)) or 2
(bootstrap-based CIs, by specyfing |
plot_ci |
If |
alpha |
|
CIs_list |
Output of function |
select |
Index of smooth term to be plotted. If a vector of length two
is passed, then the difference of the second smooth minus the first smooth will
be plotted. Note that CIs from |
xlab, ylab, ylim, main |
Optional parameters for overwriting the default plot parameters |
effect_label |
Used in the main title of the plot as
' |
shift |
Numeric shift of the plotted effect. |
base_size |
Size of plot elements. see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.