Dear expeRts,

I typically replace NA (but also other) entries in an ftable by a character 
string containing LaTeX code for later use. I realized that replacing an entry 
in one column also affects other columns; they are displayed all with the same 
column width. Since the character string can be long, this is a bit annoying. 
Is there any way to prevent this so that there are individual column widths?
Maybe one can use "..." to tell ftable to use individual column widths? 

Minimal example:

(ft <- ftable(Titanic))
ft[1,2] <- "***************************************"
ft

Cheers,

Marius
______________________________________________
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