[R] Handling of arrays

2007-04-24 Thread laptopcss
Dear R-Experts, I just imported a workspace from Matlab. I know that I can get the names of the imported variables with names(). It works. The variable ca consists of several elements. I want to get the names of the elements to handle my output better. But names(ca) doesn't work. Why? I did

Re: [R] Handling of arrays

2007-04-24 Thread Tony Plate
Try the following and look at what they return: str(ca) dimnames(ca) -- Tony Plate [EMAIL PROTECTED] wrote: Dear R-Experts, I just imported a workspace from Matlab. I know that I can get the names of the imported variables with names(). It works. The variable ca consists of several