View source: R/ACutils_export.R
ACplot_curves | R Documentation |
This functions gets one or two dataset representig functional data and plot them. It does not smooth the curves, indeed it requires as input the data, not
the regression coefficients. Use smooth_curves
function for that.
ACplot_curves( data1, data2 = NULL, range, n_plot = 1, grid_points = NULL, internal_knots = NULL, highlight_band1 = NULL, highlight_band2 = NULL, main = "Curves", xtitle = " ", ytitle = " ", legend_name1 = "data1", legend_name2 = "data2" )
data1 |
matrix of dimension \mjseqnn\_curves \times n\_grid\_points representing the first functional dataset to be plotted. |
data2 |
matrix of dimension \mjseqnn\_curves \times n\_grid\_points representing the second dataset to be plotted, if needed. |
range |
the range where the curves has to be plotted. Not needed if |
n_plot |
the number of curves to be plotted. Set 0 for no plot. |
grid_points |
vector of size \mjseqnn\_grid\_points with the points where the splines are evaluated. If defaulted they are uniformly generated. Not needed if |
internal_knots |
vector with the internal knots used to construct the splines. Default is null.
If provided, |
highlight_band1 |
a vector that states if a particular band of the plot has to be highlighted. It has to be a vector within the range \mjseqn[1,n\_basis]. |
highlight_band2 |
a vector that states if a particular band of the plot has to be highlighted. It has to be a vector within the range \mjseqn[1,n\_basis]. |
main |
the title of the plot. |
xtitle |
the title of the x-axis. |
ytitle |
the title of the x-axis. |
legend_name1 |
the name for |
legend_name2 |
the name for |
No values are returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.