Displaying 2 results from an estimated 2 matches for "acomb".
Did you mean:
acomp
2010 Jul 19
1
Calculation of Covariance Matrix Calculation
...[,3] [,4]
[1,] 1 3 5 7
[2,] 2 4 6 8
> ccov(a)
Error in solve.default(cov, ...) :
Lapack routine dgesv: system is exactly singular
I also tried colume bind, but it still doesn't work.
> a1<- a[,1]
> a2 <- a[,2]
> a3<- a[,3]
> a4 <- a[,4]
> acomb <- cbind(a1,a2,a3,a4)
> acomb
a1 a2 a3 a4
[1,] 1 3 5 7
[2,] 2 4 6 8
> ccov(acomb)
Error in solve.default(cov, ...) :
Lapack routine dgesv: system is exactly singular
Yesterday, I used cov(), my function worked well. But today I ran the same
code, it returned an error like:...
2006 Oct 24
0
incorrect number of subscriptions error in user-written function
...*xdim , ] = c(x[i,], y[j, ])}
}
v1 = data.frame(v1) # set output as dataframe
}
This works fine when combining sec1 and sec2,
comb = multiperm(sec1,sec2)
However when I try to reapply the function to combine the joint
combinations of sec1 and sec2 along with sec3
comb= data.frame(comb)
acomb = multiperm(comb,sec3)
an "Error: incorrect number of subscripts on matrix" error occurs.
Can anyone explain why this is the case and how I can resolve it?
Many thanks
Mark Abrahams
We provide assessment products and services that enable organisations to recruit, retain and d...