[R] subset data frame problem

Kai Yang y@ngk@|9999 @end|ng |rom y@hoo@com
Mon Dec 13 05:30:11 CET 2021


Hi R team,I want to delete records from a data frame if Class = '1st' and Survived = 'No'. I wrote the code below, test <- subset(PD, Class != '1st' && Survived != 'No')
but the code return a wrong result. Can someone help me for this? 
Thanks,Kai
	[[alternative HTML version deleted]]



More information about the R-help mailing list