Skip to contents

Match the classes of one object to that of another object

Usage

map_class(x, y)

Arguments

x

(object) object to be matched

y

(object) object to be coerced

Value

y with class types matching that of x