Displaying 1 result from an estimated 1 matches for "getbreaks".
2010 Oct 15
2
feed cut() output into goodness-of-fit tests
Hello,
My question is assuming I have cut()'ed my sample and look at the
table() of it, how can I compute probabilities for the bins? Do I have
to parse table's names() to fetch bin endpoints to pass them to
p[distr-name] functions? i really don't want to input arguments to PDF
functions by hand (nor copy-and-paste way).
> x.fr <- table(cut(x,10))
> x.fr
(0.0617,0.549]