Filter function

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.

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


Thank you so much sir! It worked perfectly!

1 Like

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