inline.data.frame: Convert a vector of stings to a data frame

View source: R/inline.data.frame.R

inline.data.frameR Documentation

Convert a vector of stings to a data frame

Description

inline.data.frame() converts a vector of strings that contain separated items into a data frame.

Usage

inline.data.frame(..., sep = ";", quote = "")

Arguments

...

string, or a vector of strings

sep

Item separator within strings, defaults to ";"

quote

Quote character for masking separators, empty by default

Value

a data frame

Author(s)

Michaja Pehl

Examples

inline.data.frame(
    "letters; numbers",
    "A;       1",
    "B;       2",
    NULL)   # this last line allows for easy switching of line order
inline.data.frame(c("letters; numbers", "A; 1", "B; 2"))


pik-piam/quitte documentation built on April 26, 2024, 12:58 a.m.