Displaying 20 results from an estimated 20000 matches similar to: "modelling with a decision tree in Rpart"
2011 Aug 29
0
Rpart modelling a decisión tree and getting probability
Hello everyone,
I working in a public health project and we have created a Decision Tree for categorical variables usign the package rpart. Our goal is to develop a model (Using the ROC tool) in order to predict presence/ausent of  diabetes and get a better understanding  of what are the important factors in a particular chilean population.  There are some importants variable that we have found. 
2011 Aug 08
1
Classification trees problem.
Hello Everyone, 
I'm doing a Classification trees with categorical explanatory variables using library rpart and I would like to do a prediction for some data imputs. I don't know where's a function or how can I do it?. Is there someone can help ?? ¿. Here's the code that I'm using.
library(rpart)
fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis)
plot(fit)
2008 Apr 27
2
R instalation on Ubuntu 7.10
Se ha borrado un texto insertado con un juego de caracteres sin especificar...
Nombre: no disponible
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080427/53a3d8c7/attachment.pl
2011 Dec 12
3
Variables from a Dataframe
Hello everyone,
I want make a variable selection  from a dataframe, but when I build this new object (using cbind) the new table (which is a matrix) I lost all the original factor names in the variables. I get 1,2,3....
Someone would be so kind and tell me if there's is a ny way to get variables in a dataframe, but not changing these factor to numbers?
Thank you all.
José
	[[alternative
2011 Oct 14
3
change uppercase variables
 Hello everyone, 
I'm trying to change the name variables of a big dataset. Here's more than 300 variables. The point is that I have to match it with another dataset that have same variables, but in lowercase, the I can use rbind and do my work.
Is there any function for changing uppercase or lowercase variables?
Thank you in advance!
José
	[[alternative HTML version deleted]]
2011 Nov 04
1
Decision tree model using rpart ( classification
Hi Experts,
I am new to R, using decision tree model for getting segmentation rules.
A) Using behavioural data (attributes defining customer behaviour, ( example
balances, number of accounts etc.)
1. Clustering:  Cluster behavioural data to suitable number of clusters
2. Decision Tree: Using rpart classification tree for generating rules for
segmentation using cluster number(cluster id) as target
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
...
2010 Dec 30
2
Curso de R en Santiago, Chile. Gratis!
Estimados,
A todos quienes estan insterados y estan en Stgo de 
Chile les tengo una muy buena noticia. Desde hace ya algunas semanas, 
nos hemos sentado a la mesa con Alex (Epidemiologo) a discutir la 
necesidad de desarrollar un curso de R para principiantes. No solo 
porque es necesario unirse en torno a un projecto como es el R, sino que
 es una oportunidad para muchos cientificos (como
2009 Jul 26
3
Question about rpart decision trees (being used to predict customer churn)
Hi,
I am using rpart decision trees to analyze customer churn. I am finding that
the decision trees created are not effective because they are not able to
recognize factors that influence churn. I have created an example situation
below. What do I need to do to for rpart to build a tree with the variable
experience? My guess is that this would happen if rpart used the loss matrix
while creating
2011 Apr 21
1
numbers and superscripts in the same unit of measurement.
Hola everyone,
I'm doing an analisys about abundance of a planctonic specie in Robinson Crusoe Islan and I am having a hard time just adding the superscripts and the 100 (one hundred) in the measure of abundance.
Perhaps this is so basic to you, but I need to put the real unit of measure. Individuals / 100 cubic meters. 
I have been looking in websites and R-list and there is not any
2012 Apr 26
1
creating a package?
Dear R users.
  I'm trying to know how to create a function. I have developed a big code that use a file and makes many process and then creates a table that is exported as txt. 
The point is to make something like a function.  I need to make it easy for others, so they can run it. This has a particular name?
I will be very gratefull and placed if any of you can provide some lights.
2011 Dec 02
1
CART with rpart
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20111202/b4d64bba/attachment.pl>
2011 Jul 25
3
Life Cycle Assessment with R.
Hello everyone, 
There's something really important about climate change and how many institutions around the globe are looking for softwares solutions in order to achieve they (and everyone) needs to improve life conditions in all the planet.
Currently, they're many comercial softwares working with this important topic named as: "Life Cycle Assesment", monitoring carbon emition,
2011 Jul 04
3
modification of cross-validations in rpart
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20110704/68ecf4d2/attachment.pl>
2011 Dec 12
3
obtener variables desde un dataframe
Hola amigos de R en Español,
Estoy eliguiendo unas variables desde una dataframe, pero cuando creo un objeto nuevo ( con cbind) las nueva tabla (que es una matriz) se pierden los nombres de los factores. Aparecen numeros (1,2,3..).
Alguien me puede decir si existe un comando para extraer las variables a un nuevo dataframe, pero sin cambiar el nombre, ni la codificacion ?
Gracias,
José
2006 Aug 09
2
How to draw the decision boundaries for LDA and Rpart object
Hello useR,
Could you please tell me how to draw the decision boundaries in a scatterplot of the original data for a LDA or Rpart object.
For example:
> library(rpart)
>fit.rpart <- rpart(as.factor(group.id)~., data=data.frame(Data) )
How can I draw the cutting lines on the orignial Data?
Or is there any built in functions that can read the rpart object 'fit.rpart' to do
2011 Oct 04
1
joining tables
Hello everyone,
I know this is very basic question for you people. I'm working with mani diferent tables, but everyone has the same variables. (V1, V2, V3). The only think that I need to do is to put together this tables. In other words, creating just one big table with all the cases showed in the smaller tables. 
For example:
tabla1<-data.frame(v1,v2,v3)
tabla2<-data.frame(v1,v2,v3)
2011 Sep 14
2
Image processing and analysis with R
Hello everyone, 
I'm working in a project to create an special analysis about visualization in some animals and its behaviour, through checking eye movement. The point is this is very important to get data from the image as a resume of what this animal sees. I think an RGB histogram like photoshop does, but I need to get the data from this histogram analysis and I was wondering about using R
2012 Mar 19
1
Dotplot: how to change size in the y lab ?
Hi everyone,
I'm trying to reduce the font size in the Y  exe in this plot:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150
Anyone knows how to do it?
I have checked the argument lab.cex and cex, but any of these works!
if you want to check us this code:
### read the data
d <- read.csv(  file( "http://addictedtor.free.fr/graphiques/data/150/data.txt" ) )
2010 Aug 03
1
R: classification tree model!
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20100803/9fb28807/attachment.pl>