reg | R Documentation |
reg()
performs a multiple linear regression analysis with extracting the attributed parameters
reg(datap, resp, verbose = FALSE)
datap |
The data set |
resp |
an integer value indicating the column in |
verbose |
If |
The reg
function fits a multiple linear regression analysis
of one or more independent (exogenous) variables on a dependent(endogenous)
variable in a linear pattern along with testing the significance of
parameters. It is important that according to the type of data may produce some warning errors e.g., for dtsimp as:
Warning message: In summary.lm(mlreg): essentially perfect fit: summary may be unreliable.
This case is due to the intrinsic characteristics of data
An object of class list
Ali Arminian abeyran@gmail.com
ā multiple linear regressionā
data(dtsimp)
reg(dtsimp, 1, verbose = FALSE)
data(heart)
reg(heart, 1, verbose = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.