add_factor_crossing {lgpr}R Documentation

Add a crossing of two factors to a data frame

Description

Add a crossing of two factors to a data frame

Usage

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()


[Package lgpr version 1.2.4 Index]