> On Feb 26, 2015, at 2:02 PM, Scott Colwell wrote:
>
> I think I have one solution. Not very pretty though. Relies on the text not
> changing at all.
>
> as.numeric(gsub("Mean relative difference: ", "",
> all.equal(cov2cor(ITEMCOV),cor(item.data))[2]))
>
> Is there a better way?
>
`all.equ
I think I have one solution. Not very pretty though. Relies on the text not
changing at all.
as.numeric(gsub("Mean relative difference: ", "",
all.equal(cov2cor(ITEMCOV),cor(item.data))[2]))
Is there a better way?
--
View this message in context:
http://r.789695.n4.nabble.com/Saving-Mean-Rela
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
3 matches
Mail list logo