Displaying 2 results from an estimated 2 matches for "summ2".
Did you mean:
summ
2013 Apr 22
1
Hmisc & pdflatex
...it is not available.
I also tried texi2dvi (from tools); and it says "latex is not available".
But, I was earlier able to use "latex" with tabular to generate a "tex"
file. I am confused with such conflicting messages.
Also.. when I tried to use latex again,
latex(summ2,title=outfile,file="a1.tex") # summ2 is a "tabular" output
using "tables" package
'latex' is not recognized as an internal or external command,
operable program or batch file.
Error in system(cmd, intern = TRUE, wait = TRUE) : 'yap' not found
In additio...
2012 Jul 13
4
R-squared with Intercept set to 0 (zero) for linear regression in R is incorrect
...2 value is the same in R and
Excel. In both cases the slope coefficient from R and from Excel are
identical.
k is a data frame with two columns.
M1 = lm(k[,1]~k[,2] + 0) ## set intercept to 0 and get different
R^2 values in R and Excel
M2 = lm(k[,1]~k[,2])
sumM1 = summary(M1)
sumM2 = summary(M2) ## get same value as Excel when intercept is not
set to 0
Below is what R returns for sumM1:
lm(formula = k[, 1] ~ k[, 2] + 0)
Residuals:
Min 1Q Median 3Q Max
-0.057199 -0.015857 0.003793 0.013737 0.056178
Coefficients:
Estimate Std. Error...