factorVecByNumPoints: convert column to factor based on amount of entries

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

factorVecByNumPointsR Documentation

convert column to factor based on amount of entries

Description

convert column to factor based on amount of entries

Usage

factorVecByNumPoints(DF, FacVar, FiltVar = NA)

Arguments

DF

The data frame being manipulated

FacVar

The column being converted to a factor

FiltVar

A column to filter before counting entrys. Defaults to FacVar

Value

DF with the FacVar column a factor


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