Learn R Programming

fitODBOD (version 1.5.3)

BODextract: Binomial Data Extraction from Raw data

Description

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.

Usage

BODextract(data)

Value

The output of BODextract gives a list format consisting

RV binomial random variables in vector form

Freq corresponding frequencies in vector form

Arguments

data

vector of observations

Details

NOTE : If input parameters are not in given domain conditions necessary error messages will be provided to go further

Examples

Run this code
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

Run the code above in your browser using DataLab