as_type {stencilaschema}R Documentation

Coerce a value to conform to the type Principally, marks values as scalar where possible

Description

Coerce a value to conform to the type Principally, marks values as scalar where possible

Usage

as_type(value, type)

Arguments

value

The value to coerce

type

The type to coerce it to

Value

The value, possibly coerced to the type


[Package stencilaschema version 1.0.0 Index]