as.is {gen5helper}R Documentation

Cast an object to match class of another object

Description

Cast an object to match class of another object

Usage

as.is(x, vec)

Arguments

x

object to transform

vec

object to extract class

Examples

as.is(c("1", "2", "3"), 1:3)


[Package gen5helper version 1.0.1 Index]