Tagged: beta calculation in r