initial build of R for two section, univariant and linear regression