Description Usage Arguments Value Author(s) Examples
Combines multiple Bernoulli observations with the same covariates into one Binomial response
1  | binToBinom(obs, covariates)
 | 
obs | 
 logical vector of observations  | 
covariates | 
 Data frame or matrix of covariates  | 
A data frame with one row for each unique value for the covariates, including the covariates and the following additional columns:
y | 
 Number of positive observations for the corresponding covariate values  | 
N | 
 Total number of observations for these covariates  | 
Patrick Brown
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.