sorry (need a data.frame) :
lapply(split(as.data.frame(mat), gl(nrow(mat)/4, 4, nrow(mat))), cov)

-------------------------------------------------------------------
Jacques VESLOT

CNRS UMR 8090
I.B.L (2ème étage)
1 rue du Professeur Calmette
B.P. 245
59019 Lille Cedex

Tel : 33 (0)3.20.87.10.44
Fax : 33 (0)3.20.87.10.31

http://www-good.ibl.fr
-------------------------------------------------------------------


SUMANTA BASAK a écrit :
> I tried your code, but it's giving the following
> error..
> Error in match.fun(FUN) : argument "FUN" is missing,
> with no default
> 
> 
>               
> __________________________________________________________ 
> Yahoo! India Answers: Share what you know. Learn something new. 
> http://in.answers.yahoo.com
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to