CreatePuddlrObject | R Documentation |
Create a 'puddlr' object.
CreatePuddlrObject(response, predictors)
response |
vector of observed values for the response variable. the response variable type must be compatible with the 'glm' family expected. For example, for binomial (logistic) regression, response should be a factor, while for gaussian (ordinary least squares), response should be a numeric vector. |
predictors |
matrix of predictors, formatted as observations (rows) by variables (columns) |
a Puddlr object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.