[R] P-values from survreg (survival package) using a clusterterm

2006-03-06 Thread Ladelund, Steen
Hi all. Belove is the example from the cluster-help page wtih the output. I simply cannot figure out how to relate the estimate and robust Std. Err to the p-value. I am aware this a marginal model applying the sandwich estimator using (here I guess) an emperical (unstructered/exchangeable?) ICC.

[R] Danish characters i R2.0.1 vs R1.9.1 under winXP

2004-11-22 Thread Ladelund, Steen
Hi all. After upgrading to R2.0.1 i get æ [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

[R] Left justification af dimnames in tables.

2004-11-22 Thread Ladelund, Steen
Hi helpeRs. When I do two-ways tables dimnames in columns are almost left-adjusted: - factor(rbinom(30,1,.3),labels=c(first,second)) b - a table(a,b) b afirst second first 21 0 second 0 9 If I do a oneway table however, dimnames are right-adjusted:

RE: [R] Sweave: R code in self defined TeX-commands

2004-06-28 Thread Ladelund, Steen
I do something like echo=f= needed - function(var){ a - mean(var) b - sd(var) c - paste(The mean is ,a, and the var is ,b,collapse=) return(c) } @ \Sexpr{needed(something)} Wich is to do the macro in R instead of LaTeX2e Steen Ladelund -Oprindelig meddelelse- Fra: Martin

[R] Sweave in makefile under Win XP

2004-04-29 Thread Ladelund, Steen
Hi all. To automate the production of a document I want to have something like: test.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