Re: [R] Identifying Values in Dataframe

2014-10-09 Thread PIKAL Petr
: Monday, October 06, 2014 9:25 PM To: PIKAL Petr Cc: R-help@r-project.org Subject: Re: [R] Identifying Values in Dataframe Thanks Pikal - I'd like to actually get the names of the variables for those indices both above and below .3/-.3 with the intention of generating a grid of scatterplots (

Re: [R] Identifying Values in Dataframe

2014-10-06 Thread Patzelt, Edward
Thanks Pikal - I'd like to actually get the names of the variables for those indices both above and below .3/-.3 with the intention of generating a grid of scatterplots (which I will use ggplot2 for). I played around with your code but can't seem to get the indice names. Best, Edward On Fri, O

Re: [R] Identifying Values in Dataframe

2014-10-03 Thread PIKAL Petr
Hi maybe which(abs(data)>0.3, arr.ind=T) row col Loss_EV_Amygdala_SF_left_hemisphere 15 2 Loss_EV_Amygdala_SF_left_hemisphere 15 3 Loss_PE_Amygdala_SF_right_hemisphere 5 7 Loss_PE_Amygdala_SF_left_hemisphere 13 9 Gives you what you want. > se