Skip to contents

A generic function for extracting elements from objects.

Usage

extract(object, what)

Arguments

object

An object.

what

Character string.

Value

A value determined by the specific method for the object's class.