plot.residuals.dfrr: QQ-plot for dfrr residuals

Description Usage Arguments Examples

View source: R/plot.residuals.dfrr.R

Description

The output gives the qq-plot of estimated measurment error.

Usage

1
2
3
4
5
## S3 method for class 'residuals.dfrr'
plot(x, ...)

## S3 method for class 'dfrr'
qq(x, ...)

Arguments

x

a residuals.dfrr-object.

...

graphical parameters passed to car::qqPlot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
N<-50;M<-24

X<-rnorm(N,mean=0)
time<-seq(0,1,length.out=M)
Y<-simulate_simple_dfrr(beta0=function(t){cos(pi*t+pi)},
                        beta1=function(t){2*t},
                        X=X,time=time)
dfrr_fit<-dfrr(Y~X,yind=time)

resid<-residuals(dfrr_fit)
plot(resid)
#qq(dfrr_fit)

asgari-fatemeh/dfrr documentation built on Aug. 12, 2020, 3:06 a.m.