parseArguments: Parse arguments from a comma-separated list

View source: R/parseArguments.R

parseArgumentsR Documentation

Parse arguments from a comma-separated list

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

parseArguments(x)

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

parseArguments('col.diamond="red", sm="RR", common=FALSE')


miniMeta documentation built on June 23, 2024, 1:06 a.m.