Learn R Programming

pacman (version 0.5.1)

p_functions: Package Functions

Description

List the functions from a package.

Usage

p_functions(package = "base", all = FALSE, character.only = FALSE)

p_funs(package = "base", all = FALSE, character.only = FALSE)

Arguments

package

Name of the package you want the list of functions for.

all

logical. If TRUE all of the functions from the package will be displayed regardless of whether they're exported or not.

character.only

logical. If TRUE the input is a variable containing the package name.

Examples

Run this code
# NOT RUN {
p_functions()
p_funs()
p_funs(pacman)
# }

Run the code above in your browser using DataLab