Usage
CVlm(df = houseprices, form.lm = formula(sale.price ~ area), m=3, dots =
FALSE, seed=29, plotit = c("Observed","Residual"),
main="Small symbols show cross-validation predicted values",
legend.pos="topleft", printit=TRUE)
cv.lm(df = houseprices, form.lm = formula(sale.price ~ area), m=3, dots =
FALSE, seed=29, plotit = c("Observed","Residual"),
main="Small symbols show cross-validation predicted values",
legend.pos="topleft", printit=TRUE)
Arguments
form.lm
a formula or lm
call or lm
object
dots
uses pch=16 for the plotting character
seed
random number generator seed
plotit
This can be one of the text strings "Observed"
,
"Residual"
, or a logical value. The logical TRUE
is
equivalent to "Observed"
, while FALSE
is equivalent
to ""
(no pl
legend.pos
position of legend: one of
"bottomright"
, "bottom"
, "bottomleft"
,
"left"
, "topleft"
, "top"
, "topright"
,
"right"
, "center"
printit
if TRUE, output is printed to the screen