Dear All,
I have dataframe with the name newDF_DMSP1 which contains three variables/columns, namely cluster, pixel_value and pop_value. I want to create two new data frames i.e df_rural which consist of pop_value where the coresponding pixel_value is zero and df_urban which consist of pop_value with the coresponding pixel value other than zero. Anyone who can help me how to code it in Rstudio. Looking forward to your usual cooperation in this regard. Thanks