View source: R/regressionTools.R
newDataDF | R Documentation |
creates a data.frame with the columns name, predictor, calculated response, lower & upper levels for the prediction
newDataDF(
fit,
weight = NULL,
sampleTable,
nameColumn = 1,
predictionColumn = 2,
predictionLevel = 0.95
)
fit |
lm class object containg the fit info |
weight |
default = NULL, otherwise must be integer to give weights to the predictor values (see also function weightsVector) |
sampleTable |
data.frame containing the data to be used for prediction, must contain column with (sample-)names and a prediction/or column |
nameColumn |
can be integer (column number) or character (column name) |
predictionColumn |
can be integer (column number) or character (column name) indicates the predictor column |
predictionLevel |
default is 0.95, used for the prediction |
a data.frame
use same weight as used for fit!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.