sits_labels_list: SITS labels processing function

Description Usage Arguments Value Author(s)

Description

completes list.lst list as a named list (names are unique labels from data.tb) according to a given function that receives each label as an argument.

Usage

1
sits_labels_list(data.tb, list.lst = list(), fun_label = function(lb) lb)

Arguments

data.tb

a SITS tibble

list.lst

any named list whose names are unique labels from data input. Non-informed labels will be completed according to fun_label function.

fun_label

a function that will be executed for each label non listed in list.lst parameter. The result of the function is used as list.lst value for the respective label.

Value

result.lst a list whose values non informed in list.lst is filled by fun_label for each unique label in data.tb.

Author(s)

Rolf Simoes, rolf.simoes@inpe.br


luizassis/sits documentation built on May 30, 2019, 7:15 p.m.