Displaying 4 results from an estimated 4 matches for "chunk3".
Did you mean:
chunks
2007 Oct 23
0
Residuals from biglm package
...found quite useful the package biglm. Now everything is working perfectly. But if I want the residuals, how I can do it?
Let's say that we are running the example:
> data(trees)> ff<-log(Volume)~log(Girth)+log(Height)> > chunk1<-trees[1:10,]> chunk2<-trees[11:20,]> chunk3<-trees[21:31,]> > a <- biglm(ff,chunk1)> a <- update(a,chunk2)> a <- update(a,chunk3)> > summary(a)Large data regression model: biglm(ff, chunk1)Sample size = 31 Coef (95% CI) SE p(Intercept) -6.632 -8.231 -5.032 0.800 0log(Girth) 1.983 1.833...
2007 Mar 15
1
Sweave bug using 'FDR' in chunk label (PR#9567)
...iting to file bug.R
Warning message:
reference to unknown chunk 'getFDR' in: Sweave(file = file, driver = driver,
...)
Here is the relevant part of the "bug.R" file produced by Stangle. Note that
the label has been truncated on chunk2 (should be getFDR) but is not affected on
chunk3. Also note that chunk4 has not been expanded properly.
###################################################
### chunk number 2: getF
###################################################
x <- 1
###################################################
### chunk number 3: getFDX
########################...
2010 Dec 11
5
(S|odf)weave : how to intersperse (\LaTeX{}|odf) comments in source code ? Delayed R evaluation ?
...eX and metafont
sources to see what I mean).
I seemed to remember that a code chunk could be defined piecewise, like in
Comments...
<<Chunk1, eval=FALSE, echo=TRUE>>=
SomeCode
@
Some other comments...
<<Chunk2, eval=FALSE, echo=TRUE>>=
MoreCode
@
And finally,
<<Chunk3, eval=TRUE, echo=TRUE>>=
<<Chunk1>>
<<Chunk2>>
EndOfTheCode
@
That works ... as long as SomeCode, MoreCode and EndOfTheCode are self-
standing pieces of R code, but *not* code fragments. You can *not*
intersperse comments in, say, a function body, or local() environ...
2006 May 17
1
Re : Large database help
...variance estimate in the same
single pass over the data.
Assuming I haven't messed up the package checking it will appear in the
next couple of day on CRAN. The syntax looks like
a <- biglm(log(Volume) ~ log(Girth) + log(Height), chunk1)
a <- update(a, chunk2)
a <- update(a, chunk3)
summary(a)
where chunk1, chunk2, chunk3 are chunks of the data.
-thomas
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html