Displaying 2 results from an estimated 2 matches for "3drnorm".
2007 Sep 20
1
Bug with Cor(..., method='spearman") and by() (PR#9921)
...responded indicating they too
were able to replicate the error as a function of missing data. I
believe this should not be the case and hence and reporting it here.
### Code provided on R-Help by Ivar Herfindal
# Simulate data
testdata <- cbind.data.frame(gr=3Drep(letters[1:4], each=3D5), =
aa=3Drnorm(20),
bb=3Drnorm(20))
# Introduce some missingness
testdata[1:5, 2] <- NA
# This works fine
by(testdata[,c("aa", "bb")], testdata$gr, cor, use=3D"complete",
method=3D"pearson")
# This induces error
by(testdata[,c("aa", "bb")], testdata...
2003 Oct 07
1
(PR#4450)
Hello,
When I use det() and qr() on complex matrices the result is in some cases indeterministic. The documentation speaks of numeric matrices (and not of complex matrices) but det() uses qr() which should handle complex matrices correctly. I've also tried using only qr() with
similar results. det() returns a value that is not the determinant of the complex matrix (in accordance with