Displaying 1 result from an estimated 1 matches for "nydiag".
Did you mean:
mydiag
2009 Jan 26
1
Sweave'ing Danish characters
...s?! Therefore, I cannot offer a reproducible example, but I am hoping nonetheless that someone can point me towards a solution.
To illustrate:
> library(xtable)
> library(Hmisc)
> rm(list=ls())
> load("u:/kirurgi/cholecystit/Chol_oprenset.Rdata")
>
> test2 <- chol$nydiag[3] # This 3rd observation contains a diagnosis with Danish characters ("Kr?ft i ford?jelsessystemet", meaning gastrointestinal cancer).
>
> print(xtable(table(test2)))
% latex table generated in R 2.8.1 by xtable 1.5-4 package
% Mon Jan 26 23:31:37 2009
\begin{table}[ht]
\begin{cen...