Skip to content

adding a name to cross tab margins

4 messages · Dmitry Berman, Sarah Goslee, andrija djurovic

#
Hi Dmitry,

Nothing is seriously wrong.

You want to set the fourth column name, so take column names THEN
the fourth element:

colnames(PiD)[4] <- "total"

Thank you for providing a clear and simple reproducible example.

Sarah
On Fri, Apr 15, 2011 at 9:29 AM, Dmitry Berman <ravenblur at gmail.com> wrote: