: 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
(
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
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
3 matches
Mail list logo