dot-magicsep: Convert char vector to columns.

Description Usage Arguments Details Value Author(s)

Description

Converts a character vector int columns.

Usage

1
.magicsep(charvec, labs, types = NULL, sep = "MAGICSEP")

Arguments

charvec

Character vector. Characters to separate into columns.

labs

Character vector. Labels for the columns.

types

List (Default: All characters). List (in order) of extracted types.

sep

String (Default: "MAGICSEP").

Details

A wrapper around strcapture. Given "a_MAGICSEP_b", returns a vector of "a_" and "_b". Useful for converting a multiple-parameter string into columns of parameters. User can give column names in labs, and types of each extracted component as a list in types. User can customize sep, but by default assumes MAGICSEP.

Value

data.frame

Author(s)

Stephen R. Martin


LMMELSM documentation built on March 13, 2021, 5:06 p.m.