Re: [R] heatmap

2011-09-06 Thread Jinrui Xu
"density" of grid. I am not familiar with R code, so I am writting to ask how to. Thanks! jinrui, Quoting Sarah Goslee : You mean like the examples in help("heatmap") ? On Tue, Sep 6, 2011 at 1:20 PM, Jinrui Xu wrote: Hi everyone, I have three numerica vectors: x, y

[R] heatmap

2011-09-06 Thread Jinrui Xu
Hi everyone, I have three numerica vectors: x, y, z. I want to plot a heatmap or surface plot of z against x and y. Is there any package for this? If possible, please drop me several lines of example code. Thanks! jinrui, __ R-help@r-project.org

Re: [R] Fwd: varimp_in_party_package

2011-06-16 Thread Jinrui Xu
$V1 <- as.factor(as.numeric(rawinput$V1)) data.controls <- cforest_unbiased(ntree=500, mtry=3) data.cforest <- cforest(V1~.,data=rawinput,controls=data.controls) data.cforest.varimp <- varimp(data.cforest, conditional = TRUE) Thanks! jinrui, Quoting Patrick Connolly : On Thu, 16-Jun-

[R] varimp_in_party_package

2011-06-15 Thread Jinrui Xu
Hello everyone, I use the following command lines to get important variable from training dataset. data.controls <- cforest_unbiased(ntree=500, mtry=3) data.cforest <- cforest(V1~.,data=rawinput,controls=data.controls) data.cforest.varimp <- varimp(data.cforest, conditional = TRUE) I got e

[R] fgev_error_matrix_singular

2011-01-16 Thread Jinrui Xu
Hello everyone, I am using fgev from evd package to fitting my data with general extreme value distribution. The command I used is simple: y <- fgev(x). The error is "observed information matrix is singular;" How can I solve these problem. I tried all methods in optim and it did not work.