Hi all,

I use the R2HTML package to print results, but I have a little problem when
I want to print a table provides from a summary.lm.
If I want to align this table differently of the others, I use the "align"
argument ("left", "center or "right") of the HTML function , but it prints
"Coefficients left" (or "Coefficients center", "Coefficients right") and not
only "Coefficients". I would like it prints "Coefficients".

> lm1 <- lm(y ~ x, data = w)
> HTML(summary(lm1), file = target, align = "left")


HTML file return : 

# Call: lm(formula = y ~ x, data = w)

# Residuals

        Min     1Q      Median  3Q      Max
        -0.336  -0.134  -0.019  0.094   0.395

# Coefficients left

        Estimate        Std. Error      t value Pr(>|t|)        
(Intercept)     0.6169147       0.0814819       7.571   1.46e-07        ***
(...)

Thank you,

Olivier Delaigue
-- 
View this message in context: 
http://www.nabble.com/R2HTML---align-a-table-from-summary.lm-tp15821987p15821987.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to