[R] Saving Mean Relative Difference from all.equal()

Scott Colwell scolwell at uoguelph.ca
Thu Feb 26 19:32:02 CET 2015


Hello,

Does anyone know how to save the numeric value of the "mean relative
difference" when using the all.equal() command?

For example this:

all.equal(cov2cor(ITEMCOV),cor(item.data))

Gives:

[1] "Attributes: < Length mismatch: comparison on first 1 components >"
[2] "Mean relative difference: 0.01523708"   

I'd like to save the value 0.01523708 in a numeric format.

Thanks,




--
View this message in context: http://r.789695.n4.nabble.com/Saving-Mean-Relative-Difference-from-all-equal-tp4703905.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list