splitQual: Split Leading Qualifiers

View source: R/splitQual.R

splitQualR Documentation

Split Leading Qualifiers

Description

Splits a vector of strings of combined data into numeric and remark columns.

Usage

splitQual(x, name = deparse(substitute(x)))

Arguments

x

a character vector, missing values are permitted and result in missing values in the output

name

a character string giving the names of the output columns.

Value

A data frame with 2 columns, containing the numeric values and the qualification codes.

Examples

splitQual(c("<1", "1", "<1", "1", "2"), name="Dummy")


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.