Displaying 1 result from an estimated 1 matches for "delimrath".
Did you mean:
delimmatch
2007 Jul 13
1
how to create matrix in a loop
...the following loop which didnt work:-
pv<-1:70
stat<-1:70
for(i in 1:70)
{
pv[i]=shapiro.test(x[,i])$p.value
stat[i]<-shapiro.test(x[,i])$statistic
}
warning msg: items to replace is not a multiple of replacement length
Does it have anything to do with the method of importing data as
read.delimrather than
read.table?
Please suggest
[[alternative HTML version deleted]]