Skip to contents

Set Column

Usage

set_column(
  df,
  column,
  value = NULL,
  indices = NULL,
  from = NULL,
  must_exist = TRUE
)

Arguments

df

data frame

column

column

value

value

indices

row indices

from

name of source column, optional

must_exist

is column assumed to exist?