[R] how to retain dimension when selecting one row from a matrix?
Bert Gunter
gunter.berton at gene.com
Thu Aug 15 18:17:20 CEST 2013
On Thu, Aug 15, 2013 at 7:40 AM, Weiwu Zhang <zhangweiwu at realss.com> wrote:
> 2013/8/15 Berend Hasselman <bhh at xs4all.nl>:
>> n[1,,drop=FALSE]
>>
>> Berend
>
> Thanks a lot, and I wasn't aware I can do ?`[`
See:
?"?"
;-) (Sorry, couldn't resist!)
-- Bert
>
> ______________________________________________
> R-help at 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.
--
Bert Gunter
Genentech Nonclinical Biostatistics
Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm
More information about the R-help
mailing list