as_hdType: hdType Vectors

View source: R/hdTypes.R

as_hdTypeR Documentation

hdType Vectors

Description

coerces its argument to a hdType. It is an abbreviated form of hdType.

Usage

as_hdType(x)

Arguments

x

object to be coerced

Value

attempts to coerce its argument to hdType type

Examples


some_chr_value <- "Cat"
class(some_chr_value)

some_hdt_value <- as_hdType(some_chr_value)
class(some_hdt_value)


datasketch/homodatum documentation built on May 1, 2023, 12:17 a.m.