Advanced R Statistical Programming and Data Models