search for: mypres

Displaying 8 results from an estimated 8 matches for "mypres".

Did you mean: mypred
2010 Oct 01
0
Populating values in a PowerPoint table
...a data frame, but the excel object is not nearly as nice looking and easy to manipulate (and apply templates to) as an actual PowerPoint table. I'd appreciate any help I can get. Thanks! -Saar Sample code to create the presentation and the table: require(R2PPT) # initialize the presentation myPres<-PPT.Init(visible=TRUE) # create title slide myPres<-PPT.AddTitleSlide(myPres,title="Fancy Title",subtitle="Fancy SubTitle") # create and select a table slide myPres$Current.Slide <- comInvoke(comGetProperty(myPres$pres, "Slides"),"Add", comGetProp...
2011 Mar 02
0
R2PPT - Insert data.frame
...t even the example works for me: ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14) trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69) group <- gl(2,10,20, labels=c("Ctl","Trt")) weight <- c(ctl, trt) my.df<-data.frame(weight=weight,group=group) myPres<-PPT.Init(visible=TRUE) myPres<-PPT.AddBlankSlide(myPres) myPres<-PPT.AddDataFrame(myPres, df = my.df,row.names=FALSE,size=c(30,100,100,300)) myPres<-PPT.Present(myPres) It adds the table but doesn't even recognize the columns. I would appreciate any tip, tutorial or example. I am...
2011 Feb 25
4
salidas en Power Point
Hola tengo q hacer un trabajo, donde me piden q todas las salidas q haga sean en Power Point (graficos, tablas, etc). Para eso habia empezado a leer algo del paquete R2PPT, pero la verdad es q hay cosas q no entiendo de este paquete. Queria saber si alguien estuvo trabajando con el y obtuvo buenos resultados o si han usado otro paquete para hacerlo. Por ultimo una pregunta: desde Sweave se
2006 Dec 14
2
xyplot: discrete points + continuous curve per panel
I have a number of x, y observations (Time, Conc) for a number of Subjects (with subject number Subj) and Doses. I can plot the individual points with xyplot fine: xyplot(Conc ~ Time | Subj, Groups=Dose, data=myData, panel = function(x,y) { panel.xyplot(x, y) panel.superpose(???) # Needs more here } ) I also like to plot on
2011 Mar 23
1
Corrupt trees
Hi Everyone, I have been using the "tree" package for a while with no problems until now. When I run predict(tree, newdata), I get an error with the message "Corrupt tree" for about 50% of the trees that I generate with tree. For other trees, the predict function completes with no errors. I haven't identified a correlation between the corrupt trees and the working tree.
2011 Feb 12
2
Predictions with missing inputs
Dear users, I'll appreciate your help with this (hopefully) simple problem. I have a model object which was fitted to inputs X1, X2, X3. Now, I'd like to use this object to make predictions on a new data set where only X1 and X2 are available (just use the estimated coefficients for these variables in making predictions and ignoring the coefficient on X3). Here's my attempt but, of
2012 Jan 02
1
calibration curve for glmnet object
Hi, I created a logistic regression model using the glmnet package. This model is of class "glmnet" or "lognet". I wanted to plot a calibration curve for this model using the calibrate() function from rms package, but the objects used are different, rms requires a fit from lrm(). Is there another function for getting the calibration plot for this glmnet object, or can anyone
2004 Sep 23
0
followup: Re: Issue with predict() for glm models
Could you just use lines(newX, myPred, col=2) -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Paul Johnson Sent: Thursday, September 23, 2004 10:3 AM To: r help Subject: followup: Re: [R] Issue with predict() for glm models I have a follow up question that fits with this thread. Can you force an overlaid plot