capturing the residual from felm in original dataframe and passing to Python
Advertisements I am running R via Python using %load_ext rpy2.ipython. #Prepare R in Python %load_ext rpy2.ipython %R install.packages("pacman") %R pacman::p_load(pacman, tidyverse, lfe) In R, I am running a model using felm on a dataframe. I want to capture the residuals in the original dataframe and then pass that dataframe back into Python. I can do… Read More capturing the residual from felm in original dataframe and passing to Python