cash-.functionInfo: Using $ sign to access the functions within a functionInfo...

$.functionInfoR Documentation

Using $ sign to access the functions within a functionInfo object

Description

Using $ sign to access the functions within a functionInfo object

Usage

## S3 method for class 'functionInfo'
x$name

Arguments

name

character, the element to extract

Examples

## Not run: 
library(Matrix)
library(ggplot2)
x = funCode(print)

x$default # access a function for ANY (default S3) objects
x$ggplot # access a function for S3 objects
x$diagonalMatrix # access a function for S4 objects
x$asdfasdfasdf # show a warning

## End(Not run)

paodan/funcTools documentation built on April 1, 2024, 12:01 a.m.