[R] How to compute hazard function using coxph.object

2012-07-06 Thread Yashwanth M.R
computed as h(t)= baseline hazard values(MODEL.COXPH.BASELINEHAZ)* exp(X*beta). If not, then please help me in obtaining the appropriate hazard function(H(t)). Please oblige. Regards, Yashwanth M.R -- View this message in context: http://r.789695.n4.nabble.com/How-to-compute-hazard

[R] How to compute hazard function using coxph.object

2012-07-06 Thread Yashwanth M.R
computed as h(t)= baseline hazard values(MODEL.COXPH.BASELINEHAZ)* exp(X*beta). If not, then please help me in obtaining the appropriate hazard function(H(t)). Please oblige. Regards, Yashwanth M.R -- View this message in context: http://r.789695.n4.nabble.com/How-to-compute-hazard

[R] To generate a pmml for an hclust object, showing the error Error in .Internal(inherits(x, what, which)) : 'x' is missing

2012-03-13 Thread Yashwanth M.R
# # ## Iris data ## data(iris)

Re: [R] To define a function which includes two functions as arguments such as plot and text

2012-02-29 Thread Yashwanth M.R
internally build the predictive models and try to write the report using R2HTML. There I found this problem and still struggling. I will again go through the book you suggested and will update you shortly. Regards, Yashwanth M.R From: Uwe Ligges-3 [via R] [mailto:ml-node+s789695n4432330...@n4

Re: [R] To define a function which includes two functions as arguments such as plot and text

2012-02-27 Thread Yashwanth M.R
(Telco.Rpart.METHOD.CLASS) Telco.Rpart.PLOT.TEXT Again if I solely run the command Telco.Rpart.PLOT.TEXT, the output it is displaying as NULL. Please help me finding out the desired result ASAP. Regards, Yashwanth M.R From: Uwe Ligges-3 [via R] [mailto:ml-node+s789695n4417618

[R] To define a function which includes two functions as arguments such as plot and text

2012-02-24 Thread Yashwanth M.R
Here is the two functions which I have used during my practice. *plot(Telco.rpart.METHOD.CLASS,compress=FALSE,uniform=TRUE) text(Telco.rpart.METHOD.CLASS,use.n = TRUE, cex = .75))* Telco.rpart.METHOD.CLASS is my rpart object of the method class. If I run this, *Telco.Rpart.PLOT.TEXT -

[R] To write a function for getting the node numbers in rpart analysis..

2012-02-09 Thread Yashwanth M.R
## To read .csv file(data) and performing rpart ## # library(Hmisc) library(rpart) read.csv(D:/Training/RRE/Revolution(My Projects)/Project1/RProject(pmml from SPSS)/telco_churn.csv, header = TRUE, sep = ,, quote=\, dec=.) # help(read.csv) Telco- read.table(file = D:/Training/RRE/Revolution(My

[R] Error formal argument softmax matched by multiple actual arguments

2012-01-04 Thread Yashwanth M.R
I am running the nnet package as neural.soft-nnet(custcat~region+ed+marital+tenure+age+address+income,size=3,softmax=TRUE) This returns the error message : formal argument softmax matched by multiple actual arguments Here the dependent variable custcat is a factor with 4-levels. This