1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_functions.r
\name{plot_lm}
\alias{plot_lm}
\title{Plot linear model object}
\usage{
plot_lm(lm_fit, format = "2x2", global_aes = NULL)
}
\arguments{
\item{lm_fit}{An object of class 'lm'}
\item{format}{The format of the plot (or a list of plots if format is "list")}
\item{global_aes}{Currently no effect.}
}
\description{
Plot linear model object
}
\examples{
data(income)
m1 <- lm(inc ~ race + educ, data=income)
plot_lm(m1)
plot_lm(m1, "2x2")
plot_lm(m1, "1x4")
plot_lm(m1, "4x1")
plot_lm(m1, "list")
}
\concept{plotting}
|