Plots the predictions o a function-on-scalar model fitted with
pffr
agains the real observations.
1 2 3 4 |
model |
Function-on-scalar model fitted with |
data |
Dataset with one row for which the predictions are to be plotted |
yvar |
name of the response variable in |
yvar_label |
Optional label of the response variable used for plot annotation |
type |
|
log10 |
If TRUE the predictions are shown on a log10 scale |
pi_type |
One of |
pi_alpha |
If |
base_size |
Base size of plot elements, see |
xlab, ylab, main |
Optional arguments for plot annotation |
ybreaks, ylabels |
Optional specification of the tick position and the corresponding labels (character vector) for the y axis |
ylim |
Optional y axis limits of plot |
lwd |
Optional line width. Defaults to 2 |
legend_symbol_size |
Optional size of symbols in legend. |
seed |
Additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.