plot.drop_term | R Documentation |
drop_term plot method
## S3 method for class 'drop_term' plot( x, ..., horiz = TRUE, las = ifelse(horiz, 1, 2), col = c("#DF536B", "#2297E6"), border = c("#DF536B", "#2297E6"), show.model = TRUE )
x |
An object of class |
..., horiz |
arguments past on to |
las |
graphics parameter |
col, border |
|
show.model |
logical: should the model itself be displayed? |
x
invisibly
boston_quad <- lm(medv ~ . + (rm + tax + lstat)^2 + poly(rm, 2) + poly(tax, 2) + poly(lstat, 2), Boston) dboston_quad <- drop_term(boston_quad, k = "bic") plot(dboston_quad) plot(dboston_quad, horiz = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.