[R] Apply: Output matrix orientation
Johannes Graumann
johannes_graumann at web.de
Fri May 28 12:27:19 CEST 2010
David Winsemius wrote:
>
> On May 27, 2010, at 7:24 AM, Johannes Graumann wrote:
>
>> Hi,
>>
>> Why is the result of below "apply" call rotated with respect to the
>> input
>> and how to remedy this?
>
> Because the processing you requested is with respect to rows and the
> construction of matrices is by default by columns.
>
> ?t
Thanks. t solved my problem without having to load another package.
Joh
More information about the R-help
mailing list