Displaying 2 results from an estimated 2 matches for "coeff2".
Did you mean:
coef32
2011 Jul 07
3
coefficients lm of data.frame
...n...
V1 V2 "intercept" "coeff"
1 0.6931694 0.05797771 intercept1 coeff1
2 -1.4069786 0.23983307 intercept1 coeff1
3 -1.4901708 0.45079601 intercept1 coeff1
4 0.2215696 1.87888983 intercept1 coeff1
5 -0.5828106 0.90376622 intercept2 coeff2
6 -0.7607985 0.71419938 intercept2 coeff2
7 0.1273495 0.06199312 intercept2 coeff2
8 -0.5612245 1.02223971 intercept2 coeff2
9 -0.1439178 0.92135354 intercept3 coeff3
10 -1.1011662 0.02894731 intercept3 coeff3
11 -0.4098710 -0.01231322 intercept3 coeff3
12 1.151181...
2009 Sep 21
2
Combine vectors in order to form matrixes with combn
...simple combination where, instead of scalars, i
would like to combine vector, in order to form matrixes.
In other
words, i have nineteen 6-items vectors (for example coef1-coef19), that
i would like to combine in n!/k!(n-k)! 6x6 matrixes.
I tried with a
code like this
mma <- combn(c(coeff1,coeff2,...,coeff19),function(x)
matrix(x,6,6))
but i think that R doesn't recognize that these are not
scalars. In fact the error is:
Errore in matrix(r, nrow = len.r, ncol
= count) :
invalid 'ncol' value (too large or NA)
Inoltre: Warning
message:
In combn(c(coeff1, coeff2, coeff3, coe...