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

Description

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

Usage

1
setfactor(fv, v)

Arguments

fv

factor variable

v

value

Value

a factor variable with a value val and the same levels


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.