[R] Table Modification

jim holtman jholtman at gmail.com
Fri Jan 23 17:59:39 CET 2009


?strwrap

On Fri, Jan 23, 2009 at 10:47 AM, Derek Ogle <DOgle at northland.edu> wrote:
> Yes, that was exactly what I was looking for.  Very concise.  Thank you.
>
> My "real" example has many more items in each cell.  I will now have to
> figure out how to put a "carriage return" after, say, every fourth item.
>
> Nevertheless, thank you very much for the quick and accurate answer.
>
> -----Original Message-----
> From: r at quantide.com [mailto:r at quantide.com]
> Sent: Friday, January 23, 2009 9:25 AM
> To: Derek Ogle
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] Table Modification
>
> If I understood propelly
>
>  > tapply(fact3, list(fact1, fact2) , paste, collapse = ",")
>
> A.
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list