as {actuaryr} | R Documentation |
Change into a chosen type
as(x, type)
x |
object to be coerced |
type |
type to be coerced into The "type" parameter takes one of the three values: "integer", "double" or "character". |
the same objected with changed type
as(1:3, "character")