Learn R Programming

Covid19Wastewater (version 1.0.1)

factorVecByNumPoints: 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)

Value

DF with the FacVar column a factor

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