as {actuaryr} | R Documentation |
Change into a chosen type
Description
Change into a chosen type
Usage
as(x, type)
Arguments
x |
object to be coerced |
type |
type to be coerced into The "type" parameter takes one of the three values: "integer", "double" or "character". |
Value
the same objected with changed type
Examples
as(1:3, "character")
[Package actuaryr version 1.1.1 Index]