A simple implementation of data shadowing in R - Gary Sieling
Idiomatic R often uses a neat syntactic sugar called shadowing. Imagine you have a dataframe (df) containing the costs of summer camps: A common access pattern is to filter the data frame using the column names. Note however that we pass an expression - not a lambda, as we would in other languages: df[Week ==
Gary Sieling - Software Engineer