Skip to contents

Currently assumes that the result object will have only one class.

Usage

cast(x, new_class)

Arguments

x

An R object

new_class

character(1). A single class to which to convert x.

Value

x converted to class new_class.