BODextract: Binomial Data Extraction from Raw data

Description Usage Arguments Details Value Examples

View source: R/Data.R

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

1

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

1
2
3
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

Amalan-ConStat/R-fitODBOD documentation built on Oct. 1, 2018, 7:13 p.m.