listFns: List functions within a loaded package

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

List functions within a loaded package

Usage

1
listFns(pkg, pattern = NULL, invert = FALSE)

Arguments

pkg

The name of a package as a string

pattern

A regex expression to pass to grep to include only certain package

invert

A logical indicating whether to return names that match the provided pattern (TRUE) or that do not match the pattern (FALSE)

Value

A vector of function names within a loaded package

Examples

1
2
3
4
5
library(ggplot2)

listFns("ggplot2")
listFns("ggplot2", pattern = "^theme")
listFns("ggplot2", pattern = "^[Stat|theme|geom|Geom|scale]", invert = TRUE)

ivanliu1989/RQuant documentation built on Sept. 13, 2019, 11:53 a.m.