Filter function


#1

If i generate a sample of 30 from a data frame that has 50 observations, how can i separate the remaining 20 from the data frame of 50 using filter function? Is it possible to use the filter function between two data frames? if so, then how? Please help! Thanks in advance.


#2

Given two data frames with the same structure you want the set operator to find the survivors. See setdiff


#3

Thank you so much sir! It worked perfectly!


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.