Displaying 6 results from an estimated 6 matches for "ladelund".
2004 Nov 22
2
Danish characters i R2.0.1 vs R1.9.1 under winXP
...; "??"
[1] "??"
> "??"
[1] "\370"
> "??"
[1] "??"
Whereas under R1.9.1 i get
> "??"
[1] "??"
> "??"
[1] "??"
> "??"
[1] "??"
Any hints apreciated.
Steen
Steen Ladelund, statistician
+4543233275 stelad01.FUNNYAglostruphospDOTkbhamt.dk
Research Center for Prevention and Health
Glostrup University Hospital, Denmark
www.fcfs.kbhamt.dk
2004 Apr 29
2
Sweave in makefile under Win XP
...st.tex : test.Rnw
"Sweave("test.Rnw") "| R --no-restore --no-save
in a makefile.
This however gives an error as R states: Sweave("test.Rnw") : not found.
I use R-1.9.0pat (040424 I think) on Win XP.
Any suggestions, hints or plain help appreciated.
Steen Ladelund
[[alternative HTML version deleted]]
2007 May 30
1
Factor function: odd behavior when labels argument contains duplicates?
...be the way to go:
levels(y) <- levels(y) ## Does what I want following (1) even tough
it appear to be a void statement?
y
y
[1] 1 1 2 3 4 5 1 1 2 3 4 5 1 1 2 3 4 5 1 1 2 3 4 5 1 1 2 3 4 5
Levels: 1 2 3 4 5
Am I missing an important point about factors or the factor function?
steen
Steen Ladelund, statistician
+4543233275 stelad01 at glostruphosp.kbhamt.dk
Research Center for Prevention and Health
Glostrup University Hospital, Denmark
www.fcfs.kbhamt.dk
2006 Mar 06
1
P-values from survreg (survival package) using a clusterterm
...Log(scale) -1.333 0.1688 0.1439 -7.89 0.886
Scale= 0.264
Weibull distribution
Loglik(model)= -242.3 Loglik(intercept only)= -246.3
Chisq= 8 on 1 degrees of freedom, p= 0.0047
(Loglikelihood assumes independent observations)
Number of Newton-Raphson Iterations: 7
n= 150
>
Steen Ladelund, statistician
+4543233275 stelad01CURLYAglostruphospDOTkbhamt.dk
Research Center for Prevention and Health
Glostrup University Hospital, Denmark
www.fcfs.kbhamt.dk
2004 Nov 22
1
Left justification af dimnames in tables.
...a oneway table however, dimnames are right-adjusted:
table(a)
a
first second
21 9
Actually I must admit I dont know if its the dimnames or/and the cell counts
that are adjusted ;-)
Is there a way that I can get left-adjusted dimnames i oneway tables.
Thans in advance
Steen
Steen Ladelund, statistician
+4543233275 stelad01FUNNYAglostruphospDOTkbhamt.dk
Research Center for Prevention and Health
Glostrup University Hospital, Denmark
www.fcfs.kbhamt.dk
2004 Jun 25
2
Sweave: R code in self defined TeX-commands
Hi,
I need to produce a standard report for several variables in Sweave
and thus would need the possibility to define a TeX-command which includes
R-code like
\newcommand{\meansd}[1]{The mean is \Sexpr{mean(#1)} and the standard
deviation is \Sexpr{sd(#1)} .
}
and then just write
\meansd{age}
in the latex code to get the whole sentence.
The above does not work, since