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$vector[1]

and get 14 only

thanks in advance
Ragia

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to