creating functions in R.
default values
when passing functions in R, pass reference? if change in function, points to something else
pointers and side effects of functions in R (when pass lists etc? vectors? df? dt?)
passing arrays to functions. what is passed? reference ot first? length separately?