convertStringToVector: split a long string to create a vector for testing

Description Usage Arguments Examples

View source: R/utils.R

Description

split a long string to create a vector for testing

Usage

1

Arguments

str

a contnuous long string to split as a vector

Examples

1
2
3
convertStringToVector("1.05 1.10 1.20")
# result: "c(1.05, 1.1, 1.2)"
# now, you can paste the vector in your test

zFactor documentation built on Aug. 1, 2019, 5:04 p.m.