x <- x[1, drop=FALSE]

> Is there any way to force the result to remain a matrix, even if it
> has only one row or column, or even only one entry? Thanks,

-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
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