new_quantile {scpoisson} | R Documentation |
A more "continuous" approximation of quantiles of samples with a few integer case
Description
This function returns a data frame including data points and corresponding quantile.
Usage
new_quantile(data, sample)
Arguments
data |
A numeric vector of sampled data points. |
sample |
A character string denotes which sample data points come from. |
Details
This is a function developed to get quantile for samples with only a few integer values.
Define both and
.
Replace the point mass at each integer
by a bar on the interval
with height
. This is a more "continuous" approximation of quantiles in this case.
Value
A data frame contains the corresponding probability from cumulative distribution function (CDF), sample name, and corresponding respective quantiles.
[Package scpoisson version 0.0.1 Index]