Learn R Programming

miniMeta (version 0.3.2)

parseArguments: 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)

Value

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

Arguments

x

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

Examples

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

Run the code above in your browser using DataLab