similar to: tree() - Tree is too big

Displaying 20 results from an estimated 20000 matches similar to: "tree() - Tree is too big"

2002 Feb 21
2
question regarding to The tree Package for R
I have a problem with running the tree package (dec.8, 2001) for R. The problem is, it will only give me 5/6 terminal node and then stop, while using Splus's tree on the same data with the same specification give me hundreds of nodes. Here's a little more background info: R-1.4.1 Solaris 5.7 rpart (most recent version) tree (..) Splus 6.0 Solaris 5.7 tree
2001 Jul 06
1
Title of bundled packages in the library index (PR#1017)
Full_Name: Henrik Bengtsson Version: 1.3.0 OS: Windows Me Submission from: (NULL) (216.175.122.171) I realized that the title of packages in the library index when they are in a bundle is the title of the bundle and not the package. It looks like the TITLE file, which apparently is used for generating the library index, takes the value of the bundle's title and not the package's title.
2002 May 22
1
tree.control
Hi. I'm trying to get a tree, that fits all the lines of the training set ( a tree with no error in classification) data(iris) tree.control(150,mindev=3D-1,minsize=3D2) ir.tr <- tree(Species ~., iris) ir.tr summary(ir.tr) I'm trying to use this as a test, but it still have some examples that are classified wrongly... Anyone could tell me what's the problem?
2017 Sep 24
2
predict y tree
Estimados compañeros hace unos días instale la versión última de R (3.4.1) en windows 10 y hoy me tiene loco el siguiente error cuando ejecuto predict para un árbol de clasificación-regresión. El problema da incluso con el ejemplo del comando predict library(tree) data(shuttle, package="MASS") shuttle.tr <- tree(use ~ ., shuttle, subset=1:253, mindev=1e-6,
2014 Dec 06
1
R CMD check --as-cran and (a)spell checking
Does anyone know if it is possible to add a dictionary file of known words that becomes part of the *built* package to tell 'R CMD check --as-cran' not to report these words as misspelled. I want this dictionary to come with the *.tar.gz such that it will be available regardless where the package is checked. For instance, currently I get: * using log directory
2002 Jul 07
1
Error in tree package
Hi. I'm using the tree package to fit one tree from a training set. I'm using the command: hm.tr <-tree(X1~.,teste2, mindev = 0, minsize = 2) and i get the error: Error in "row.names<-.data.frame"(*tmp*, value = fit$node[1:n]) : duplicate row.names are not allowed the frameset, has 180 columns and 16000 rows. The
2005 Feb 16
0
Depends, require(), autoload() and "side effects"?
Hi. If your package require another package in order to define its methods (but afterwards in is not needed), how should one specify this? Is it correct to assume that "Depends" will assure that all packages are loaded (attached? what is the right word) *before* the methods in the current package are defined? Basically I use my own setMethod() called setMethodS3() that is defined in
2001 Mar 07
1
Minor bug in maketitle.pl (with bug correction) (PR#864)
Full_Name: Henrik Bengtsson Version: rw1022 OS: Windows Me Submission from: (NULL) (216.175.126.55) When ${R_HOME}/share/perl/maketitle.pl tries to generate a TITLE that is longer than $lc-3 (=13) characters long, it repeats the package name on line two. Example: Now it generates an output like: com.braju.graphics com.braju.graphics Bla bla bla... But, I believe it should
2001 Mar 22
1
Call by reference: Was: Object orientation?
To reply to Yves Gauvreau question (Jan 24, 2001) about how to set values within function, it is possible to do without without using the "<<-" assignment operator or other nasty tricks. I had the same problem and I did a nasty workaround two weeks ago implementing the functionality of reference variables, but today I "ran into" the [R] help page for ".Alias".
2017 Sep 24
2
predict y tree
Gracias Carlos miraré el fix y en su defecto intentaré mandar un mensaje al autor. De todas las maneras espero que alguien lo pruebe en windows 10 Saludos, Juan El 24/09/2017 a las 20:32, Carlos Ortega escribió: > Hola Juan Antonio, > > Acabo de instalar "tree" en Mac OSX y no aparece este error... > > > shuttle1 <- shuttle[254:256, ]  # 3 missing cases >
2001 Jun 30
1
Rd tag \link not working without \code (PR#1006)
Full_Name: Henrik Bengtsson Version: 1.3.0 OS: Windows Me Submission from: (NULL) (216.175.124.18) Even though I know the Rd format might be replaced soon, I am report this just in case: The package optional argument for \link is *only* used when \link is in a \code environment. Example: 1) This link works: \code{\link[base]{cat}} 2) But not this one: \link[base]{cat} It looks like the
2007 May 14
1
Native implementation of rowMedians()
Hi, I've got a version of rowMedians(x, na.rm=FALSE) for matrices that handles missing values implemented in C. It has been optimized for memory and speed. To avoid coercing integers to doubles, and hence allocate an additional 200% memory, there is one C function for integers and one for doubles. The rowMedians() implementation is currently sitting in my non-CRAN package R.native
2002 Jun 20
1
tree construction crashes (PR#1698)
Full_Name: Petr Savicky Version: 1.5.0 OS: SuSE 7.2 Submission from: (NULL) (147.231.6.1) The function tree() from the tree package crashes for certain input data. All the information needed to reproduce the error (data, script, expected error message) may be found at http://www.cs.cas.cz/~savicky/tree_error/tree_error.tgz Exactly the same error appeared at another computer running some RedHat
2001 May 01
1
scan without line numbers?
When using the function scan(quiet=TRUE) the line numbers are printed. Example: > scan(quiet=TRUE) 1: 123 [ENTER] 2: [ENTER] [1] 123 > Is it possible to not show the line numbers? I know about readLines() but I would like to be able to use the extra features of scan(). Thanks for you help! Henrik Bengtsson henrikb at braju.com
2001 May 08
1
ASCII map?
Is there a way to convert between and integer and a character and vice versa? For instance i <- 65; ch <- intToChar(i); # "A" i <- charToInt(ch); # 65 or even better i <- c(65, 66); ch <- intToChar(i); # c("A", "B") i <- charToInt(ch); # c(65, 66) I have tried to do a ASCII map myself, and I figured out that the ASCII
2010 Nov 04
1
cross-validation for choosing regression trees
Dear All, We came across a problem when using the "tree" package to analyze our data set. First, in the "tree" function, if we use the default value "mindev=0.01", the resulting regression tree has a single node. So, we set "mindev=0", and obtain a tree with 931 terminal nodes. However, when we further use the "cv.tree" function to run a 10-fold
2002 Aug 14
1
FW: R CMD check: Too long [R] code line generated (PR#1900)
On Wed, 14 Aug 2002, Henrik Bengtsson wrote: > Sorry, but it was indeed the redirection of the standard output in > Cygwin/bash that cause the first problem, not R (I should stop doing > troubleshooting at 1:00 AM). So please forget about the problems reported in > R_CMD_check.out. However, it would still be nice if you still update R CMD > check to do join with "\n".
2005 Jul 15
2
R v2.1.0 patched (>2005-05-09) for Windows?
I'm trying to troubleshoot a case where R crashes on Windows. It does not occur at all with my R v2.1.0 patched (2005-05-09), but happens on R v2.1.1 (patched or non-patched) in many different cases. The R v2.2.0dev (2005-07-15) also got this problem (although it won't crash on the below example). I previously reported this
2002 Feb 20
2
How to get the penalized log likelihood from smooth.spline()?
I use smooth.spline(x, y) in package modreg and I would like to get value of penalized log likelihood and preferable also its two parts. To make clear what I am asking for (and make sure that I am asking for the right thing) I clarify my problem trying to use the same notation as in help(smooth.spline): I want to find the natural cubic spline f(x) such that L(f) = \sum_{k=1}{n} w[k](y[k] -
2004 Jul 16
3
rpart and TREE, can be the same?
Hi, all, I am wondering if it is possible to set parameters of 'rpart' and 'tree' such that they will produce the exact same tree? Thanks. Auston Wei Statistical Analyst Department of Biostatistics and Applied Mathematics The University of Texas MD Anderson Cancer Center Tel: 713-563-4281 Email: wwei@mdanderson.org [[alternative HTML version deleted]]