On Tue, Feb 19, 2008 at 04:52:19PM +0200, K. Elo wrote: > Hi, > > Hans Ekbrand wrote (19.2.2008): > > I tried the following small code snippet which I copied from the > > > > "Introduction to R": > > > for (i in 2:length(meriter)) { table(meriter[[1]], meriter[[i]]) } > > Try: > for (i in 2:length(meriter)) { print(table(meriter[[1]], > meriter[[i]])) }
It works, thanks! -- Hans Ekbrand
signature.asc
Description: Digital signature
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.