powered by
This function plots the observed curves, before any action of smoothing or interpolation.
plotOC(time = 1:nrow(curves), curves, xlab = "time", ylab = "value", main = "Original curves")
a vector containing the observation time for the curves. If absent the time param will be set at the vector 1:nrow(curves)
the observations matrix. Each column of this matrix corresponds to one observed curve, and contains the value of the curve at discrete time points.
label of the horizontal axis
label of the vertical axis
the title of the graphic
# NOT RUN { data(growth) curves=matrix(data=cbind(growth$hgtm,growth$hgtf),ncol=93) time=growth$age plotOC(time,curves) # }
Run the code above in your browser using DataLab