Learn R Programming

Covid19Wastewater (version 1.0.1)

computeRankQuantiles: computeRankQuantiles

Description

Convert jumps from last step into a ordering quintile

Usage

computeRankQuantiles(df)

Value

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

Arguments

df

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

First 4 gen from computeJumps

Examples

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

Run the code above in your browser using DataLab