Learn R Programming

Covid19Wastewater (version 1.0.1)

rankJumps: rankJumps

Description

Convert jumps from last step into a ordering

Usage

rankJumps(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)
rankJumps(df_data)

Run the code above in your browser using DataLab