# FactoredFunctions2(R, S)¶

map(fn, u) is used to apply the function userfun{fn} to every factor of spadvar{u}. The new factored object will have all its information flags set to “nil”. This function is used, for example, to coerce every factor base to another type.