fct_levels_from_vector: Copy level of factors between dataframes

fct_levels_from_vectorR Documentation

Copy level of factors between dataframes

Description

Based on the prefix numbers, otherwise don't work.

Usage

fct_levels_from_vector(data_to, data_from, var)

Arguments

data_to

Data with the variable with levels to change.

data_from

Data with the variable with good levels

var

The variable : must exist on both df.

Value

A factor.


BriceNocenti/tablr documentation built on April 12, 2025, 12:56 a.m.