Skip to content

R2HTML - align a table from summary.lm

1 message · Olivier Delaigue

#
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".
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