Analyz.coerceType-methods: Method Analyz.coerceType

Description Usage Arguments Value Examples

Description

Method for variable type coercion.

Usage

1
2
3
4
Analyz.coerceType(object, variable, type)

## S4 method for signature 'Analyz'
Analyz.coerceType(object, variable, type)

Arguments

object

Object instance.

variable

Variable to be coerced.

type

Data type to coerce the informed variable.

Value

result Coerced variable.

Examples

1
2
obj <- new("Analyz")
v_numeric <- Analyz.coerceType(obj, '2', 'numeric')

analyz documentation built on May 2, 2019, 11:02 a.m.