[R] numeric of length 1

Ragia Ibrahim ragia11 at hotmail.com
Tue Jun 23 08:51:29 CEST 2015


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]]



More information about the R-help mailing list