Create basics.R

Basic R data manipulation