parseHelp: Extract argument descriptions from the documentation of a...

Description Usage Arguments Details Value Author(s) Examples

View source: R/guiBosh.R

Description

Parse the documentation of an object to extract argument descriptions.

Usage

1
parseHelp(func)

Arguments

func

a function name or function.

Details

This function is a replacement of the function with the same name in package fgui with improved parsing based on the new (R>=2.10) help system.

This version of parseHelp detects when multiple arguments are described in one entry and allocates that entry to each of them, see the example with seq.default which describes from,to together.

Value

A named list with one entry (a string) for each argument of f.

Author(s)

Georgi N. Boshnakov

Examples

1
2
3
parseHelp("rnorm")
parseHelp("seq")
# fgui:::parseHelp("seq")  # for comparison

GeoBosh/fguigb documentation built on May 30, 2019, 8:25 a.m.