selecting parts of a table
Hi, new.Match <- Match[10<Match$position & Match$position<50 & Match$tvalues>3.5,] Everything before the comma selects rows. You could select columns by using conditions after the comma. HTH, Stephan emj83 schrieb:
I have a dataframe called Match with two columns: position and tvalue. I would like to select the parts of the dataframe that have a position> 10 but <50 and tvalues >3.5 as a new stand alone dataframe. Could anyone help me with how to do this? Thanks Emma