Skip to content Skip to sidebar Skip to footer
Showing posts with the label R

Subset Recursively A Data.frame

I have a data frame with close to a 4 million of rows in it. I need an efficient to way to subset t… Read more Subset Recursively A Data.frame

Clear R Memory Using Rpy2

I have a bunch of R functions which I need to call through python. However, I reach memory errors w… Read more Clear R Memory Using Rpy2

Knitr - Python Engine Cache Option Not Working

yihui gives an example of using the cache option for the different engines https://github.com/yihu… Read more Knitr - Python Engine Cache Option Not Working

Knitr - Error When Importing Python Module

I am having trouble when running the python engine in knitr. I can import some modules but not othe… Read more Knitr - Error When Importing Python Module

Using R To Fit Data From A Csv With A Gamma Function?

Using the following data: time_stamp,secs,count 2013-04-30 23:58:55,1367366335,32 2013-04-30 23… Read more Using R To Fit Data From A Csv With A Gamma Function?

Reduce Number Of Levels For Large Categorical Variables

Are there some ready to use libraries or packages for python or R to reduce the number of levels fo… Read more Reduce Number Of Levels For Large Categorical Variables

Pandas / Matplotlib: Faceting Bar Plots

I am making a series of bar plots of data with two categorical variables and one numeric. What i ha… Read more Pandas / Matplotlib: Faceting Bar Plots

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'… Read more What Is The Python (numpy Or Scipy Or Pandas) Equivalent For R's Adjboxstats Function?