[R] Heatmap Colors

2012-09-28 Thread Nick Fankhauser
how possible to create a color palette with white centered at zero? Nick Fankhauser __ 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 prov

[R] clock24.plot

2012-04-10 Thread Nick Fankhauser
I've got the strange problem with clock24.plot that only the first data point (phase = 23.38, size = 0.44) from the phases/sizes numeric vectors is plotted. Does anyone have an idea why this could be? library(plotrix) phases <- c(23.38, 22.29, 22.71) sizes <- c(0.44, 0.30, 0.30) clock24.plot(sizes

Re: [R] nls start values

2011-12-16 Thread Nick Fankhauser
Hi! thanks a lot for this suggestion! I tried to implement it like this, and it worked nicely. I used the method suggested by Gabor Grothendieck for simplification: frml <- gene_expression ~ sin(tpoints * afreq + phase) * amp + shift gridfit <- nls2(frml, algorithm = "grid-search", data=gendat, s

[R] Confidence Intervals in ROC Plot

2011-03-14 Thread Nick Fankhauser
Is there a ROC curve plotting function for censored survival data that allows condidence intervals? I know there is the survivalROC package for plotting ROC curves of survival data, but it does not include CI. And there is roc.plot in the variance package, but it does not support censored data.

[R] ROC curve in randomSurvivalForest

2010-04-22 Thread Nick Fankhauser
someone could point to an approach on how to do this. Nick Fankhauser __ 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 comm

[R] Fixed size permutations

2010-01-14 Thread Nick Fankhauser
I'm using functions to return a matrix of all permutations of a specified size from a larger list for predictor selection. For each predictor size I use a seperate function like this: bag2 <- function(n) { rl <- c() for (i1 in seq(n)) { for (i2 in seq(n)) { if (length(u

[R] Error of Cox model

2009-12-08 Thread Nick Fankhauser
I have a set of parameter estimates for a multivariable Cox model predicting survival duration and a data-frame of new measurements for the variables in the model, as well as the actual survival duration. Is there a function to estimate the error the model has on predicting survival on this new se

[R] Error of Cox model

2009-12-08 Thread Nick Fankhauser
I have a set of parameter estimates for a multivariable Cox model predicting survival duration and a data-frame of new measurements for the variables in the model, as well as the actual survival duration. Is there a function to estimate the error the model has on predicting survival on this new se