formMWRcens {MassWateR}R Documentation

Format censored data

Description

Format censored data

Usage

formMWRcens(censdat)

Arguments

censdat

input data frame

Details

This function is used internally within readMWRcens to format the input data for downstream analysis. The formatting includes:

Value

A formatted data frame of the censored data

Examples

library(dplyr)

censpth <- system.file('extdata/ExampleCensored.xlsx', 
     package = 'MassWateR')

censdat <- suppressMessages(readxl::read_excel(censpth, 
      na = c('NA', 'na', '')
    )) 
    
formMWRcens(censdat)

[Package MassWateR version 2.2.0 Index]