baytrends (version 1.1.0)

splitQual: Split Leading Qualifiers

Description

Splits a vector of strings of combined data into numeric and remark columns. Removed ATimport swmrGraphs (between ATreturn and ATexamples).

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

Run this code
# NOT RUN {
splitQual(c("<1", "1", "<1", "1", "2"), name="Dummy")

# }

Run the code above in your browser using DataLab