Add a crossing of two factors to a data frame

add_factor_crossing(data, fac1, fac2, new_name)

Arguments

data

a data frame

fac1

name of first factor, must be found in df

fac2

name of second factor, must be found in df

new_name

name of the new factor

Value

a data frame

See also

Other data frame handling functions: add_dis_age(), add_factor(), adjusted_c_hat(), new_x(), split()