functionInfo-class: Generating functionInfo object

functionInfo-classR Documentation

Generating functionInfo object

Description

FunctionInfo is an S4 class and a function to generate functionInfo object.

Usage

## S4 method for signature 'functionInfo'
show(object)

Arguments

object

an object of functionInfo class

funName

character, the function name.

typeof

character, the result generated by 'typeof“ function.

S3S4

logical, whether the results of .S3methods and .S4methods exist.

fcn

function, the result shown by 'print.function' directly.

fS3

fcnS object, the information of S3 methods.

fS4

fcnS object, the information of S4 mehtods.

Value

a functionInfo object

Methods (by generic)

  • show(functionInfo): Show the S3 method names in object@fS3 and S4 method names in object@fS4

Examples

## Not run: 
functionInfo()

## End(Not run)

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