Nothing
### Plot the monthly data
plot.nonlintest<-function(x, ...){
## Check
if (class(x) != "nonlintest"){
stop("Object must be of class 'nonlintest'")
}
if(max(abs(x$region))==0){cat('No points of the third-order moment exceed the test limits\n')}
# Plot (only points that exceed limits)
if(max(abs(x$region))!=0){
counter=0;
for(r in 0:x$n.lag){
for(s in r:x$n.lag){
frame=data.frame(r=r,s=s,z=x$region[r+1,s+1]);
if(counter==0){for.plot=frame}else{for.plot=rbind(for.plot,frame)}
counter=counter+1;
}
}
print(wireframe(z~r*s,data=for.plot,drape=T,scales=list(arrows=F)),xlab='r',ylab='s',zlab='Area outside the test limits', ...)
# mtext(side=3,'Points of 3rd order moment that exceed limits');
} # end of if
} # end of function
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.