computeRankQuantiles: computeRankQuantiles

View source: R/library--data_prep--filter_tools--outlier_tools.R

computeRankQuantilesR Documentation

computeRankQuantiles

Description

Convert jumps from last step into a ordering quintile

Usage

computeRankQuantiles(df)

Arguments

df

dataframe. needs Column n1.jumpFromLeft, n1.jumpFromRight, n2.jumpFromLeft, n2.jumpFromRight, site

First 4 gen from computeJumps

Value

dataframe with 4 columns appended: ranks of each of the 4 jumps;

Examples

data(Example_data, package = "Covid19Wastewater")
Example_data$site = "Madison"
df_data <- computeJumps(Example_data)
ranked_data <- rankJumps(df_data)
computeRankQuantiles(ranked_data)

Covid19Wastewater documentation built on Aug. 25, 2023, 1:07 a.m.