Learn R Programming

proportion (version 2.0.0)

PlotlengthGEN: Plots the sum of lengths for a specific LL and UL

Description

Plots the sum of lengths for a specific LL and UL

Usage

PlotlengthGEN(n, LL, UL, hp)

Arguments

n
- Number of trials
LL
- Lower limit
UL
- Upper limit
hp
- Hypothetical "p"

Details

Plot of intervals obtained from any method using sum of the lengths for the \(n + 1\) intervals

See Also

Other Expected length: PlotexplGEN, PlotexplSIM, PlotlengthSIM, lengthGEN, lengthSIM

Examples

Run this code
n= 5;
LL=c(0,0.01,0.0734,0.18237,0.3344,0.5492)		#Lower and Upper Limits
UL=c(0.4507,0.6655,0.8176,0.9265,0.9899,1)
hp=seq(0,1,by=0.01)
PlotlengthGEN(n,LL,UL,hp)

Run the code above in your browser using DataLab