Description Usage Arguments Details See Also Examples

View source: R/327.Expec_Leng_GENERAL_GIVENp.R

Plot the expected length given hypothetical "p"

1 | ```
PlotexplGEN(n, LL, UL, hp)
``` |

`n` |
- Number of trials |

`LL` |
- Lower limit |

`UL` |
- Upper limit |

`hp` |
- Hypothetical "p" |

The plot of the expected length for `n`

given lower limit `LL`

and upper limit `UL`

Other Expected length: `PlotexplSIM`

,
`PlotlengthGEN`

, `PlotlengthSIM`

,
`lengthGEN`

, `lengthSIM`

1 2 3 4 5 | ```
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)
PlotexplGEN(n,LL,UL,hp)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.