A simple implementation of data shadowing in R
Idiomatic R often uses a neat syntactic sugar called shadowing. Imagine you have a dataframe (df) containing the costs of summer camps: Child Week Cost 1 1 $60 1 2 $200 2 1 $400 2 2 $275 2 2 $1000 A common access pattern is to filter the data frame using the column names. Note …
Continue reading “A simple implementation of data shadowing in R”