granularity_to_vector: Coerce gran_1 and gran_2 scalars in list into vector gran

Description Usage Arguments Details Value Examples

View source: R/list_misc.R

Description

granulatiry_to_vector coerces gran_1 and gran_2 scalars in list into vector gran in the same list.

Usage

1

Arguments

df

list with gran_1 and gran_2 scalar numbers

Details

Coerces gran_1 and gran_2 scalars in list into vector gran in the same list.

Value

list with gran vector

Examples

1
2
a <- list(gran_1 = 25, gran_2 = 10)
granularity_to_vector(a)

bdemeshev/torro documentation built on May 21, 2019, 8:36 a.m.