Description Usage Arguments Value
Plots heatmap plots for 2D 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 4 5 6 |
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 |
plot_ci_type |
Only used 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 |
lowCol, highCol |
Colors defining the color gradient of the plots |
legend_limits |
Optional vector specifying the limits of the color
scale, e.g. |
legend_position |
Either "bottom", "right" or "none" |
xlab |
Optional parameters for overwriting the default plot parameters |
ylab |
Optional parameters for overwriting the default plot parameters |
main |
Optional parameters for overwriting the default plot parameters |
sub |
Optional subtitle of the plot |
effect_label |
Used in the main title of the plot as
' |
base_size |
Size of plot elements. see |
outer_fontsize |
Fontsize of the main and sub which are outer of the single ggplots. Defaults to 15. |
newpage |
See |
... |
Further arguments passed to |
The function silently returns the ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.