Skip to content Skip to sidebar Skip to footer

What Is The Python (numpy Or Scipy Or Pandas) Equivalent For R's AdjboxStats Function?

I do use R to get the outliers for data set and I do use this snippet in R and it works like it's advertised to! library('robustbase') adjboxStats(c(11232.1, 234.2, 3445532344.3, 3

Solution 1:

The hanging appears to happen when you import both rpy and rpy2. If you just do:

from rpy import *
r.library("robustbase")
r("adjboxStats")(r.c(11232.1, 234.2, 3445532344.3, 34302.3, 203.9, 232223.3, 3434.55), coef = 2.5, a = -4, b = 3, do_conf = True, do_out = True)

This code should work.


Post a Comment for "What Is The Python (numpy Or Scipy Or Pandas) Equivalent For R's AdjboxStats Function?"