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@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@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 ______________________________________________ R-help@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.