View source: R/LinRegProblem.R
new_LinRegProblem | R Documentation |
Construct a LinRegProblem Instance
new_LinRegProblem( X, Y, add_intercept = TRUE, X_transform = identity, Y_transform = identity )
X |
An n \times m design matrix, optionally with an intercept column present. |
Y |
An n-length vector or n \times 1 matrix representing the response. |
add_intercept |
Logical. Should an intercept column (a column of 1s) be added to |
X_transform |
One-argument transformation function to apply to |
Y_transform |
One-argument transformation function to apply to |
This is the constructor function for the LinRegProblem
class. Users
should not use this function and should instead call LinRegProblem
.
A LinRegProblem
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.