[R] operating on a subset of a dataframe
humbertc at univ-mlv.fr
Thu Jul 4 10:13:03 CEST 2002
Perhaps you could use the function subset().
Tim Wilson wrote:
> Hi everyone,
> I've got a dataframe with columns of different types. A certain number
> of columns in the dataframe hold the results of a series of Likert-type
> items. I've got a function that will print a simple table of frequencies
> and I want to apply that function to those columns of the dataframe
> only. What's the best approach?
> Tim Wilson | Visit Sibley online: | Check out:
> Henry Sibley HS | http://www.isd197.org | http://www.zope.com
> W. St. Paul, MN | | http://slashdot.org
> wilson at visi.com | <dtml-var pithy_quote> | http://linux.com
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help