spreadout {simgof} | R Documentation |
spreadout
Description
This function unbins data. If qnull is given it uses quantiles, otherwise uniform
Usage
spreadout(x, case)
Arguments
x |
data set |
case |
setup info |
Value
A numeric vector of observations without ties.
Examples
case <- list(B=1000, param = NULL, n = 1000, pnull = function(x, param) punif(x),
rnull = function(n, param) runif(n), qnull = function(x, param) qunif(x),
est.mle = function(x) NA, nbins = 10)
y=runif(1000)
bins=seq(0, 1, length=11)
counts=hist(y, bins, plot=FALSE)$counts
x=list(bins=bins,counts=counts)
spreadout(x, case)
[Package simgof version 1.0.2 Index]