factorVecByVec: Get ordering for ploting based on factoring vector

View source: R/library--data_prep--calculated_tools--factor_vec_by_number_points.R

factorVecByVecR Documentation

Get ordering for ploting based on factoring vector

Description

Get ordering for ploting based on factoring vector

Usage

factorVecByVec(FactorDF, OrderDF, FacVar, NumVar)

Arguments

FactorDF

DF containing FacVar

OrderDF

DF containing NumVar

FacVar

Column given ordering

NumVar

Column used to find ordering

Value

FactorDF with FacVar being a factor ordered by NumVar

Examples

data(Example_data, package = "Covid19Wastewater")
head(factorVecByVec(Example_data, Example_data, "site", "N1"))

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