get_precision: Get length and precision for numeric variables

Description Usage Arguments Details Author(s) Examples

View source: R/get_precision.R

Description

This function can be used for define data types in databases according to vector properties (length and precision).

Usage

1

Arguments

x

A numeric vector.

Details

Get precision to define numeric characters in databases (e.g. NUMERIC(5,3)).

Author(s)

Miguel Alvarez [email protected].

Examples

1
2
data(iris)
get_precision(iris$Sepal.Length)

kamapu/vegtable2 documentation built on Feb. 11, 2019, 9:15 a.m.