Learn R Programming

refund (version 0.1-6)

plot.lpeer: Plotting of estimated regression functions obtained through lpeer()

Description

Plots the estimate of components of estimated regression function obtained from an lpeer object along with the point-wise confidence band.

Usage

## S3 method for class 'lpeer':
plot(x, conf=0.95, ...)

Arguments

x
an object of class "lpeer".
conf
confidence level of pointwise confidence band.
...
additional arguments passed to the plot function.

Details

Plots the components the of estimated regression function over sampling points (x-axis). Confidence interval produced is pointwise and no multiplicity correction is made.

References

Kundu, M. G., Harezlak, J., and Randolph, T. W. (2012). Longitudinal functional models with structured penalties. (please contact J. Harezlak at harezlak@iupui.edu) Randolph, T. W., Harezlak, J, and Feng, Z. (2012). Structured penalties for functional linear models - partially empirical eigenvectors for regression. Electronic Journal of Statistics, 6, 323--353.

See Also

peer, lpeer, plot.peer

Examples

Run this code
data(DTI)
cca = DTI$cca[which(DTI$case == 1),]
DTI = DTI[which(DTI$case == 1),]
fit.cca.lpeer1 = lpeer(Y=DTI$pasat, t=DTI$visit, subj=DTI$ID, funcs = cca)
plot(fit.cca.lpeer1)

Run the code above in your browser using DataLab