Learn R Programming

pivotea (version 1.0.2)

replace_col: Replace a col with a data.frame.

Description

Replace a col with a data.frame.

Usage

replace_col(df, replace)

Value

A dataframe.

Arguments

df, replace

A dataframe.

Examples

Run this code
(state <- tibble::tibble(state = state.name, area = state.area))
(abb <- tibble::tibble(state = state.name, abb = state.abb))
replace_col(state, abb)

Run the code above in your browser using DataLab