Displaying 4 results from an estimated 4 matches for "mytry".
Did you mean:
mtry
2004 Mar 11
2
No traceback available when using try(...)
Hello,
1. The Situation :
------------------------
The stack traceback is not available when error ouccured in a try(....)
-- test.R --------------------------------
f<-function(a){
return ( log(a) )
}
try(f("A"))
traceback()
-------------------------------------------
I get the following message :
> try(f("A"))
Error in log(x) : Non-numeric argument to mathematical
2006 May 28
8
a newbie question, if possible to help
...dn''t really work out for me...what am i
doing wrong? is there a different way to solve this?
--------regular --------
def destroy
Page.find(params[:id]).destroy
redirect_to :action => ''list''
end
-----------------
and this is my try
-------------mytry---------
def destroy
if params[:id] == 1
flash[:notice] = ''you cannot destroy this page''
redirect_to :action => ''list''
else
Page.find(params[:id]).destroy
redirect_to :action => ''list''
e...
2002 May 28
0
random Forests
Hi,
I have a data set with 1000 observations and 260 predictors. The
predictor variables are all ordinal. There are 2 classes labeled as, F
and T with class proportions of 0.44 and 0.56, respectively.
In a call to the function randomForest() with mytry=1 and nodesize=1 and
ntree=100 the resulting classifier puts all observations in class T.
When I change nodesize to nodesize=5 I get the following error message:
Error in array(rfout$treemap, dim = c(2, nrnodes, ntree)) :
dim<- length of dims do not match the length of object
Higher values o...
2010 Aug 17
3
Wilcoxon test and grouping factor with multiple levels
Dear R users,
I have a dataset with two variables: $esan - a grouping factor with 8
levels and $reus. I'd like to do wilcox.test on this dataset as
sugested Weiwei here:
https://stat.ethz.ch/pipermail/r-help/2007-July/136627.html. I tried
to adapt his recommendation but no succes. Can anyone help me?
Regards,
Iurie Malai, Senior Lecturer
Department of Psychology
Faculty of Psychology and