Displaying 20 results from an estimated 3000 matches similar to: "plotting rpart objects, text.rpart, fancy option"
2007 Feb 27
0
plotting rpart objects - fancy option
Hi all,
I'm trying to create nice plots of rpart objects. In particular, I'd
like to use the "fancy" option to text() that creates ellipses and
rectangles at the splits and endnotes, respectively. This worked fine in
the past, but now the ellipses do not interrupt the original tree lines
anymore but overlay them (see attached ps file). I'd like it to look the
way Figure
2006 Sep 25
2
rpart
Dear r-help-list:
If I use the rpart method like
cfit<-rpart(y~.,data=data,...),
what kind of tree is stored in cfit?
Is it right that this tree is not pruned at all, that it is the full tree?
If so, it's up to me to choose a subtree by using the printcp method.
In the technical report from Atkinson and Therneau "An Introduction to recursive partitioning using the rpart
2004 Jan 07
0
rpart question on loss matrix
Hello again
I've looked through ?rpart, Atkinson & Therneau (1997), Chap 10 of
Venables and Ripley, Breman et al., and the r hgelp archives but
haven't seen the answer to these two questions
1) How does rpart deal with asymmetric loss matrices? Breiman et al.
suggest some possibilities, but, of course, do not say how rpart does
it.
2) In the loss matrix, which direction (column or
2001 Nov 12
0
Additional Documentation for rpart?
Dear r-help,
I am looking for additional documentation on the "adj" column in rpart's
splits matrix. The help says:
adj
gives the adjusted concordance for surrogate splits
I am looking info about "adjusted concordance". I cannot find this phrase
in either Therneau & Atkinson original RPART documentation or the CART
book.
This question came up in the
2009 May 14
0
Rpart - user defined split functions
Dear all,
I'm writing my own method to be used in Rpart by defining the list of
functions named init, split and eval. I'm following the example given in the
file 'tests/usersplits.R' in the sources.
By now I'm able to define the split function (and it works correctly in the
tree construction) while I have some problems with the init and the eval
function.
The task I'm
2004 Jul 23
1
Porting plotterm() & gamterms() from s-plus
I'm trying to plot pspline'd explanatory variables from coxph() models as per Therneau and Grambsch (Modeling Survival Data: Extending the Cox Model). They have s-plus functions for this at:
http://www.mayo.edu/hsr/people/therneau/book/sfunction/gamterms.s
http://www.mayo.edu/hsr/people/therneau/book/sfunction/plotterm.s
I'd like to make these plots in R, but they make use of non-R
2011 Apr 08
4
Rpart decision tree
Dear useRs:
I try to plot an rpart object but cannot get a nice tree structure plot. I
am using plot.rpart and text.rpart (please see below) but the branches that
connect the nodes overlap the text in the ellipses and rectangles. Is there
a way to get a clean nice tree plot (as in the Rpart Mayo report)? I work
under Windows and use R2.11.1 with rpart version 3.1-46.
Thank you.
Tudor
...
2012 Jul 02
4
Removing rows if certain elements are found in character string
I would like to remove rows from the following data frame (df) if there are
only two specific elements found in the df$ch character string (I want to
remove rows with only "0" & "D" or "0" & "d"). Alternatively, I would like
to remove rows if the first non-zero element is "D" or "d".
2006 Nov 24
1
Splitting criterion in tree and rpart
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061124/6ac3d11f/attachment.pl
2008 May 05
2
rpart for survival fits
Hello Gurus:
When I plot a survival fit using rpart for the classification tree, for each node, there is a decimal based number above the event/total. I tried to see if it's the exponential ratio or logrithmics, neither seem to be the case. I'm wondering if anyone knows what they are.
Thanks,
Karen
_________________________________________________________________
Find hidden words,
2019 Jun 14
0
memory leak in vhost_net_ioctl
Hello Syzbot
On Fri, 14 Jun 2019 11:04:03 +0800 syzbot wrote:
>
>Hello,
>
>syzbot has tested the proposed patch but the reproducer still triggered crash:
>memory leak in batadv_tvlv_handler_register
>
> 484.626788][ T156] bond0 (unregistering): Releasing backup interface bond_slave_1
>Warning: Permanently added '10.128.0.87' (ECDSA) to the list of known hosts.
2004 Feb 17
0
New package -- mvpart
The package mvpart is now available.
mvpart includes partitioning based on (1) multivariate numeric responses and
(2) dissimilarity matrices.
The package mvpart is a modification of rpart --
-- authors of original: Terry M Therneau and Beth Atkinson
<atkinson at mayo.edu>, and
R port of rpart Brian Ripley <ripley at stats.ox.ac.uk>.
Includes some modified routines from vegan --
2004 Feb 17
0
New package -- mvpart
The package mvpart is now available.
mvpart includes partitioning based on (1) multivariate numeric responses and
(2) dissimilarity matrices.
The package mvpart is a modification of rpart --
-- authors of original: Terry M Therneau and Beth Atkinson
<atkinson at mayo.edu>, and
R port of rpart Brian Ripley <ripley at stats.ox.ac.uk>.
Includes some modified routines from vegan --
2010 May 03
1
rpart, cross-validation errors question
I ran this code (several times) from the Quick-R web page (
http://www.statmethods.net/advstats/cart.html) but my cross-validation
errors increase instead of decrease (same thing happens with an unrelated
data set).
Why does this happen?
Am I doing something wrong?
# Classification Tree with rpart
library(rpart)
# grow tree
fit <- rpart(Kyphosis ~ Age + Number + Start,
2013 Feb 15
0
[PATCH 1/4] xen/arm: trap guest WFI
Trap guest WFI, block the guest VCPU unless it has pending interrupts.
Awake the guest vcpu when a new interrupt for it arrrives.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
xen/arch/arm/domain_build.c | 2 +-
xen/arch/arm/traps.c | 6 ++++++
xen/arch/arm/vgic.c | 4 +++-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git
2020 Sep 25
1
Extra "Note" in CRAN submission
When I run R CMD check on the survival package I invariably get a note:
...
* checking for file ?survival/DESCRIPTION? ... OK
* this is package ?survival? version ?3.2-6?
* checking CRAN incoming feasibility ... NOTE
Maintainer: ?Terry M Therneau <therneau.terry at mayo.edu>?
...
This is sufficient for the auto-check process to return the following failure message:
Dear maintainer,
2011 Jun 21
0
How does rpart computes "improve" for split="information"?? (which seems to be different then the "gini" case)
Hello dear R-help members,
I would appreciate any help in understanding how the rpart function computes
the "improve" (which is given in fit$split) when using the
split='information' parameter.
Thanks to Professor Atkinson help, I was able to find how this is done in
the case that split='gini'. By following the explanation here:
2012 Dec 19
6
[PATCH V2] xen: arm: fix guest register access.
We weren''t taking the guest mode (CPSR) into account and would always
access the user version of the registers.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Fix r8 vs r8_fiq thinko.
---
xen/arch/arm/traps.c | 62 ++++++++++++++++++++++++++++++++++++++++++-
xen/arch/arm/vgic.c | 4 +-
xen/arch/arm/vpl011.c | 4 +-
xen/arch/arm/vtimer.c
2024 Mar 11
2
Vignettes with long compute time
Is there a way to include the compiled version of a vignette in the doc directory but mark
it to NOT be rerun by CRAN??? I think I remember that this is possible, but have forgotton
how.?? (It might even be a false memory.)
Terry T.
Background:? Beth Atkinson and I are splitting out many of the vignettes from the survival
package into a separate package survivalVignettes.? There are a few
2001 May 07
3
Samba 2.2.x and Trust Relationships?
Hi,
Is it true that Samba 2.2.x PDC does not support trust relationships
to other Windoze NT PDCs?
Thanks in advance for your reply.
Regards,
Bernd Nies
--
_ _ ___ ___
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \ / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil
|_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies@hsr.ch