Python Statistical Functions In R