Learn R Programming

geogenr (version 1.0.1)

scroll_level: scroll_level

Description

Recursive function. Shifts the required values to be able to move the set of values to the next level.

Usage

scroll_level(mdr, fields, field_index, values_indices, index_limit)

Value

A tibble.

Arguments

mdr

A tibble.

fields

Vector with the name of the field and its levels.

field_index

Index of the vector of names to consider.

values_indices

Indices of the tibble positions to move.

index_limit

Level limit for the name index.