do_fan: Compute summary statistics for 'stat_fan'

Description Usage Arguments Value Examples

View source: R/do_fan.R

Description

Extracts the limits of the Ntiles of a distribution for use in the stat_fan function

Usage

1
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 quantile function

Value

a data.frame containing

Examples

1
2
3
4
5
6
FanEuStockMarkets <- lapply(colnames(EuStockMarkets),function(id) {
    res <- do_fan(EuStockMarkets[,id])
    res$id <- id
    return(res)
})
FanEuStockMarkets <- do.call(rbind,FanEuStockMarkets)

cytofan documentation built on May 2, 2019, 3:58 a.m.