Hi everybody,

I wanted to name a column vector (a variable).

This is what I did :

try<-matrix(1:4,nrow=4,ncol=1)
attr(try,"dimnames")<-list(NULL,"true value")

Is it OK ?

Thanks for your help,
Jimmy

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