BODextract | R Documentation |
The below function has the ability to extract from the raw data to Binomial Outcome Data. This function simplifies the data into more presentable way to the user.
BODextract(data)
data |
vector of observations |
NOTE : If input parameters are not in given domain conditions necessary error messages will be provided to go further
The output of BODextract
gives a list format consisting
RV
binomial random variables in vector form
Freq
corresponding frequencies in vector form
datapoints <- sample(0:10,340,replace=TRUE) #creating a sample set of observations
BODextract(datapoints) #extracting binomial outcome data from observations
Random.variable <- BODextract(datapoints)$RV #extracting the binomial random variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.