Demo entry 6635045

S/R

   

Submitted by anonymous on Aug 16, 2017 at 10:29
Language: S. Code size: 113 Bytes.

install.packages("dplyr")

load(fake_data)
fake_data %>%
  group_by(col) %>%
  mutate(new_col = old_col)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).