add_factor_crossing: Add a crossing of two factors to a data frame

View source: R/main-datautil.R

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


jtimonen/lgpr documentation built on Oct. 12, 2023, 11:13 p.m.