BODextract: Binomial Data Extraction from Raw data

View source: R/Data.R

BODextractR Documentation

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)

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

Value

The output of BODextract gives a list format consisting

RV binomial random variables in vector form

Freq corresponding frequencies in vector form

Examples

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


fitODBOD documentation built on Oct. 10, 2024, 5:07 p.m.