TransformValueType: TransformValueType

View source: R/firevat_config.R

TransformValueTypeR Documentation

TransformValueType

Description

This function checks the type of value and returns type-transformed value

Usage

TransformValueType(curr.value, value_type)

Arguments

curr.value

A value which need type conversion

value_type

A character value

Value

curr.value. Type-converted value (integer or numeric)

Examples

## Not run: 
TransformValueType("0.98", "double")
TransformValueType("3.0", "integer")

## End(Not run)

cgab-ncc/FIREVAT documentation built on Nov. 19, 2022, 5:55 p.m.