[R] data.frame

Robin Hankin r.hankin at noc.soton.ac.uk
Mon Jun 18 15:32:34 CEST 2007


On 18 Jun 2007, at 14:16, Adaikalavan Ramasamy wrote:

> See help(dim) and please read the manuals before asking basic  
> questions
> like this. Thank you.
>


I think the questioner was looking for row() and col(), which (IMO) are
difficult to find if you don't know of their existence.


[as indeed are slice.index() or arow()  for the array case]

Robin


>
> elyakhlifi mustapha wrote:
>> hello,
>> are there functions giving the columns number and the rows number  
>> of a matrix?
>> thanks.
>>
>>
>>        
>> _____________________________________________________________________ 
>> ________
>>
>> 	[[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch 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.
>>
>>
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.

--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743



More information about the R-help mailing list