## Extract or replace columns in a data frame using $Columns in a data frame can be easily extracted and manipulated with the $ operator. Even new columns can be added by assigning a vector.

• Extract columns from a data frame with the $. • Replace values of existing columns in a data frame. • Add new columns to a data frame. ___$___
___$___ <- ___ View Interactive Version Extract or replace columns in a data frame using $