Skip to contents

Utility function to set an objects class.

Usage

as_class(x, cls)

Arguments

x

object to set the class of.

cls

the class to be set.