Re: [R] numeric of length 1

2015-06-23 Thread Gerrit Eichner
Hi, Ragia, use names( pr_sub$vector[ 1]) Regards -- Gerrit On Tue, 23 Jun 2015, Ragia Ibrahim wrote: Dear group, I have the following object pr_sub$vector[1] 14 0.07782809 class( pr_sub$vector[1]) [1] "numeric" > length( pr_sub$vector[1]) [1] 1 how can I separate pr_sub$

[R] numeric of length 1

2015-06-22 Thread Ragia Ibrahim
Dear group, I have the following object > pr_sub$vector[1] 14 0.07782809 > class( pr_sub$vector[1]) [1] "numeric" > length( pr_sub$vector[1]) [1] 1 how can I separate pr_sub$vector[1] and get 14 only thanks in advance Ragia [[alter