Hello.  Sorry for the newbie question.  When I run the function
fun.zero.omit (from the GLDEX package), I get a matrix and some descriptive
information.  Can someone tell me how to strip out the descriptive
information so that I'm only left with the matrix?  Here's an example:

 

> x=fun.zero.omit(c(0,1,2,3,4,0))

> x

       [,1]

[1,]    1

[2,]    2

[3,]    3

[4,]    4

attr(,"na.message")

[1] "Dropped 2 cases due to zero values"

 

Thanks very much.

 

Nelson

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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