setfactor: Set new value of a factor variable, checking for existing...

setfactorR Documentation

Set new value of a factor variable, checking for existing levels

Description

Set new value of a factor variable, checking for existing levels

Usage

setfactor(fv, v)

Arguments

fv

factor variable

v

value

Value

a factor variable with a value val and the same levels


IQSS/Zelig documentation built on Dec. 11, 2023, 1:51 a.m.