CreatePuddlrObject: Create a 'puddlr' object.

View source: R/puddlr.R

CreatePuddlrObjectR Documentation

Create a 'puddlr' object.

Description

Create a 'puddlr' object.

Usage

CreatePuddlrObject(response, predictors)

Arguments

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)

Value

a Puddlr object


rahuldhodapkar/puddlr documentation built on May 28, 2022, 12:53 p.m.