Displaying 1 result from an estimated 1 matches for "xtrunk".
Did you mean:
trunk
2012 Apr 02
1
How to layout the output nicely into webpage?
...example):
2. Trunk by trunk, the outputs are layed out vertically, i.e. the data
(left) and summary (right) for trunk 2 are placed below those of trunk 1,
etc.
Here is the skeleton of the code:
How to do it?
Thanks a lot!
----------------------
n=length(x)
for (i in seq(40, n, by=40))
{
xtrunk=x[(i-40+1):i]
t=1:40
bb=summary(lm(xtrunk~t))
#would like to output xtrunk on the left and bb on the right
#and convert results into HTML format; the final results will be a big
HTML file
}
------------------
summary(lm(xtrunk~t))
Call:
lm(formula = xtrunk ~ t)
Residuals:...