Displaying 1 result from an estimated 1 matches for "jelsessystemet".
2009 Jan 26
1
Sweave'ing Danish characters
...n 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{center}
\begin{tabular}{rr}
\hline
& test2 \\
\hline
Kr?ft i ford?jelsessystemet & 1 \\ # It...