search for: printit

Displaying 11 results from an estimated 11 matches for "printit".

Did you mean: printint
2000 May 22
1
Inconsistencies (PR#550)
Dear all, I was playing around with some C-code that I dynamically linked to R and noticed the following inconsistency: > dat <- matrix(1,3,3) > is.double(dat) [1] TRUE > is.integer(dat) [1] FALSE > dat <- matrix(1:9,3,3) > is.double(dat) [1] FALSE > is.integer(dat) [1] TRUE How did I find out? I passed `dat' to a double * in the C-code and printed out the matrix
2007 May 12
0
There might be something wrong with cv.lm(DAAG)
...le. But the usage documentation hasn't informed us about this. You can find it by excuting the following code: xx=matrix(rnorm(20*3),ncol=3) bb=c(1,2,0) yy=xx%*%bb+rnorm(20,0,10) data=data.frame(y=yy,x=xx) myformula=formula("y ~ x.1 + x.2 + x.3") cv.lm(data,myformula,m=10,plotit=F, printit=TRUE) myformula=formula("y ~ x.1 + x.2") cv.lm(data,myformula,m=10,plotit=F, printit=TRUE) myformula=formula("y ~ x.1 ") cv.lm(data,myformula,m=10,plotit=F, printit=TRUE) What happened? they give three equal mss(mean squared error). Or you can just check the code of function cv...
2007 May 21
0
Is this a bug in cv.lm(DAAG) ?
...n't informed us about this. The code illustrates my discovery: > library(DAAG) > xx=matrix(rnorm(20*3),ncol=3) > bb=c(1,2,0) > yy=xx%*%bb+rnorm(20,0,10) > > data=data.frame(y=yy,x=xx) > myformula=formula("y ~ x.1 + x.2 + x.3") > cv.lm(data,myformula,plotit=F, printit=TRUE) Analysis of Variance Table Response: yv Df Sum Sq Mean Sq F value Pr(>F) xv 1 37 37 0.29 0.6 Residuals 18 2288 127 fold 1 Observations in test set: 4 6 7 9 10 19 X1 X2 X3 X4 X5 X6 x.1 -0.0316 -0.342 -1....
2011 Mar 04
4
cv.lm syntax error
Dear all, I've tried a multiple regression, and now I want to try a cross-validation. I obtain this error (it must be sth related to df) that I don't understand, any help would be appreciated. cv.lm(df= dat, lm2.52f, m=3) Error en `[.data.frame`(df, , ynam) : undefined columns selected lm2.52f is my lm object, dat is a dataframe where the variables involved in .lm are I tried CVlm
2007 Jun 29
1
Print grid/ggplot to a metafile
...it fails, because it's illegal to have 2 graphics in a metafile. It works with pdf, but even then I get two plots, which is a nuisance. I found a workaround by using windows(); savePlot, but it only works in interactive mode, not when called with something like (Windows) rterm --no-save < printit.r Any ideas? Dieter #------ library(ggplot2) win.metafile(file="bar.emf") mtcars$cyls = factor(mtcars$cyl, labels=c("four\ncylinders","six\ncylinders","eight\ncylinders")) ggplot(mtcars, aes(x=cyls)) + geom_bar() #grid.gedit("xaxis::labels::label.te...
2009 May 04
0
frontier 0.99 is NOT backward compatible
..."searchScale" * renamed argument "gridno" of function "frontier" as "gridSize" * renamed argument "igrid2" of function "frontier" as "gridDouble" * renamed argument "iprint" of function "frontier" as "printIter" * removed arguments "qxNames" and "quadHalf" from function "frontier", because quadratic or translog frontiers can be estimated with function "frontierQuad" now * added "logLik" method for objects of class "frontier" * added fun...
2009 May 04
0
frontier 0.99 is NOT backward compatible
..."searchScale" * renamed argument "gridno" of function "frontier" as "gridSize" * renamed argument "igrid2" of function "frontier" as "gridDouble" * renamed argument "iprint" of function "frontier" as "printIter" * removed arguments "qxNames" and "quadHalf" from function "frontier", because quadratic or translog frontiers can be estimated with function "frontierQuad" now * added "logLik" method for objects of class "frontier" * added fun...
2000 May 22
0
integer functions {was Inconsistencies (PR#550)}
...uot; and "-" if the args are integers -- however that might change: Currently, there's no overflow detection! BDR> (Since I know you have a copy, this is exactly the BDR> problem of the wam example on page 203 of `S Prograaming'.) BDR> For example, if printit.c is <... instructive example...> Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1228 <>&l...
2005 Dec 30
11
Losing my mind with Ajax link_to_remote
I''m playing around with Rails, and I can''t get this to work. I just can''t seem to wrap my brain around it. I''m having some trouble doing an Ajax navigation column. Here''s what I have: view layout: <div id="navigation"> <%= render(:partial => "navigation", :collection => @categories) %> </div> My
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...h another type. width, height, (double)horizontal, ps, onefile, ^ cc-1185 c89: WARNING File = devices.c, Line = 108 An enumerated type is mixed with another type. pagecentre, printit, cmd)) { ^ cc-1185 c89: WARNING File = devices.c, Line = 108 An enumerated type is mixed with another type. pagecentre, printit, cmd)) { ^ cc-1185 c89: WARNING File = devices.c, Line = 145 An enumera...
2009 May 05
1
self organizing map advice for categorical data
..."searchScale" * renamed argument "gridno" of function "frontier" as "gridSize" * renamed argument "igrid2" of function "frontier" as "gridDouble" * renamed argument "iprint" of function "frontier" as "printIter" * removed arguments "qxNames" and "quadHalf" from function "frontier", because quadratic or translog frontiers can be estimated with function "frontierQuad" now * added "logLik" method for objects of class "frontier" * added fun...