[R] Filtering an Entire Dataset based on Several Conditions

Rasmus Liland jr@| @end|ng |rom po@teo@no
Mon May 9 11:04:24 CEST 2022

Dear Paul,

perhaps you could melt the wide df into 
a long one with columns i, j, and z, and 
then reshape df[df$z>-3 & df$z<3,] back 
into a wide one?


More information about the R-help mailing list