replace_col {pivotea} | R Documentation |
Replace a col with a data.frame.
replace_col(df, replace)
df , replace |
A dataframe. |
A dataframe.
(state <- tibble::tibble(state = state.name, area = state.area))
(abb <- tibble::tibble(state = state.name, abb = state.abb))
replace_col(state, abb)