Description Usage Arguments Examples
Create two diagnostics plots for the fitted model
1 | plotFit(fittedGLM, ttl = "")
|
fittedGLM |
a list with 3 elements: mod = the glm or lm object, aic, and vif, as generated by runLinearModel() |
ttl |
An optional title for the plots (default is blank) |
1 2 3 4 5 6 7 8 | ## Not run:
fn <- system.file("extdata", "AR1SIM.RData", package = "SEMMS", mustWork = TRUE)
dataYXZ <- readInputFile(fn, ycol=1, Zcols=2:100)
fittedSEMMS <- fitSEMMS(dataYXZ, mincor=0.8, nn=15, minchange= 1,
distribution="N",verbose=T,rnd=F)
fittedGLM <- runLinearModel(dataYXZ,fittedSEMMS$gam.out$nn, "N")
plotFit(fittedGLM)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.