do_fan {cytofan} | R Documentation |
Compute summary statistics for stat_fan
Description
Extracts the limits of the Ntiles of a distribution for use in the stat_fan
function
Usage
do_fan(x, step = 0.01)
Arguments
x |
the value to summarize |
step |
the number of bins to break the data into, based on the |
Value
a data.frame containing
ymin : the lower limit of the quantile
ymax : the upper limit of the quantile
id : an identifier for the quantile
percent : the fill colorto use in
geom_fan
Examples
FanEuStockMarkets <- lapply(colnames(EuStockMarkets),function(id) {
res <- do_fan(EuStockMarkets[,id])
res$id <- id
return(res)
})
FanEuStockMarkets <- do.call(rbind,FanEuStockMarkets)
[Package cytofan version 0.1.0 Index]