scatterplotMatrix in R: explanation of options -
quick question scatterplotmatrix "car" package. pulling data excel r analysis, i'm unsure of lines being plotted , "car" package info on cran isn't specific. have code below:
clipboard <- read.table("clipboard",sep="\t",header=t) view(clipboard) x1 x2 x3 x4 3 1 5 3 1 1 5 4 2 1 6 1 3 2 5 2 1 1 5 4 2 1 6 5 3 2 6 4 2 2 5 3 3 2 6 2 1 1 5 5 3 2 3 3 2 2 5 4 3 2 3 3 2 2 5 3 3 1 6 5 scatterplotmatrix(~x1+x2+x3+x4,clipboard)
thick red line regression curve, dotted lines? defined confidence interval bound? know diagonals kernel densities, green line? green line particular smoothing function?
- the green line (straight) robust-regression line each pair.
- the thick red line (curvy) non-parametric regression smoother (default gam, change it)
- the dotted red lines represent confidence envelope smoother (more specific description in
spread
section of file)
your question made me wonder if color scheme same me though, hence curvy/straight qualifiers.
Comments
Post a Comment