Description Usage Arguments Remark Author(s) See Also Examples

a help function to get reasonable labels for distribution objects

1 |

`x` |
a distribution object |

`withnames` |
logical: are the parameters (if any) of |

The need for this helper function (external to our
`plot`

methods) was brought to our attention in a mail
by Kouros Owzar [email protected].

Peter Ruckdeschel [email protected]

1 2 3 4 5 6 7 8 9 | ```
## example due to Kouros Owzar:
foo<- function(law,n, withnames = TRUE)
{
data.frame(muhat=mean(r(law)(n)),n=n,law= getLabel(law,withnames))
}
### a function that groups certain informations on
## created with distribution objects
do.call("rbind",lapply(list(Exp(1),Norm(0,1),Weibull(1,1)),foo,n=100))
do.call("rbind",lapply(list(Exp(1),Norm(0,1),Weibull(1,1)),foo,n=100,FALSE))
``` |

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.