parseArguments: Parse arguments from a comma-separated list

Description Usage Arguments Value Examples

View source: R/parseArguments.R

Description

Read a comma-separated list of arguments (as a character string), parse them, and return as a named R list. This function is used in miniMeta to parse arguments for forest.meta() when given as a string.

Usage

1

Arguments

x

A character vector (of length one) containing the arguments. All should be named.

Value

A named list of arguments, or an object of class "try-error" on failure.

Examples

1
parseArguments('col.diamond="red", sm="RR", comb.fixed=FALSE')

miniMeta documentation built on March 1, 2020, 5:07 p.m.