[R] how to force a table to be square?

Peter Ehlers ehlers at ucalgary.ca
Thu Jul 22 18:56:55 CEST 2010


On 2010-07-22 10:43, Wu Gong wrote:
>
> Hi William,
>
> I'm curious about that you used d[]<- lapply(d, factor...
> Could you please tell me if there are any differences between d[] and d?
> Thank you.
>

Why not try it both ways and inspect the result.

  d[] <- ....
  d <- ....

Obvious?

   -Peter Ehlers



More information about the R-help mailing list