Displaying 5 results from an estimated 5 matches for "i_c".
Did you mean:
i2c
2009 Nov 22
1
How to make a matrix of a number of factors?
...llowing code to generate a matrix of factors. I'm
wondering if there is a way to make it more general so that I can have
any number of factors (not necessarily 5).
a=3
b=4
c=5
d=6
e=7
A=1:a
B=1:b
C=1:c
D=1:d
E=1:e
X=matrix(nr=a*b*c*d*e,nc=5)
for(i_a in 1:a-1) {
for(i_b in 1:b-1) {
for(i_c in 1:c-1) {
for(i_d in 1:d-1) {
for(i_e in 1:e-1) {
X[(((i_a * b + i_b) * c + i_c) * d + i_d) * e + i_e + 1, ] =
c(i_a+1, i_b+1, i_c+1, i_d+1, i_e+1)
}
}
}
}
}
print(X)
2010 Feb 09
1
"1 observation deleted due to missingness" from summary() on the result of aov()
...uals 119 102.642 0.86254
---
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
1 observation deleted due to missingness
#######################
a=3
b=4
c=5
A=1:a
B=1:b
C=1:c
n=3
X=matrix(nr=a*b*c*n,nc=n)
colnames(X)=LETTERS[1:n]
for(i_a in 1:a-1) {
for(i_b in 1:b-1) {
for(i_c in 1:c-1) {
for(i_n in 1:n-1) {
X[((i_a * b + i_b) * c + i_c) * n + i_n + 1, ] = c(i_a+1, i_b+1, i_c+1)
}
}
}
}
set.seed(0)
Y=matrix(nr=a*b*c*n,nc=1)
for(i in 1:(a*b*c)) {
for(i_n in 1:n-1) {
fa=X[i,'A']
fb=X[i,'B']
fc=X[i,'C']
#...
2009 Nov 22
1
Why F value and Pr are not show in summary() of an aov() result?
...ary() doesn't show F
value and Pr?
Rscript multi_factor.R
> a=3
> b=4
> c=5
> d=6
> e=7
>
> A=1:a
> B=1:b
> C=1:c
> D=1:d
> E=1:e
>
> X=matrix(nr=a*b*c*d*e,nc=5)
> colnames(X)=LETTERS[1:5]
>
> for(i_a in 1:a-1) {
+ for(i_b in 1:b-1) {
+ for(i_c in 1:c-1) {
+ for(i_d in 1:d-1) {
+ for(i_e in 1:e-1) {
+ X[(((i_a * b + i_b) * c + i_c) * d + i_d) * e + i_e + 1, ]
= c(i_a+1, i_b+1, i_c+1, i_d+1, i_e+1)
+ }
+ }
+ }
+ }
+ }
>
> Y=matrix(nr=a*b*c*d*e,nc=1)
> for(i in 1:(a*b*c*d*e)) {
+ fa=X[i...
2013 Nov 02
2
[PATCH] curve25519-sha256@libssh.org key exchange proposal
Am 02.11.2013 um 11:38 schrieb Aris Adamantiadis <aris at 0xbadc0de.be>:
> RFC4251 describes mpint to be multi-size and with positive values having
> MSB clear, so it's clearly incompatible with raw string.
>
> Since you both agreed on the curve25519 implementation to use, I'll work
> today on Markus' patch to make the changes Damien wanted.
What do you want to
2002 Aug 01
2
A question from a newbee...
Hello .
I have a little question ..
I work with Anova (aov) and Manova (manova) and want to print some result in a
text file. I see the results with the summary function or the summary.aov
function but i do not know how to save the differents probabilities of error
in a value.
Sorry for my poor English
Thanks a lot.
--
Lamoral Julien