In a message dated 9/12/03 1:16:51 AM Pacific Daylight Time, [EMAIL PROTECTED] writes:
> On Fri, 12 Sep 2003 [EMAIL PROTECTED] wrote: > > >Another newbie question.... > > I want to create a factor (say cT)from a numerical variable (sy temp) by > >regrouping the values in classes (say cT <390, [390,400[,[400,409[...>=550) > > > >Is there a simple way of doing that using the factor function? > > No, but see ?cut. Also see, cut2 in "design" library. There are other useful functions for data manipulation and management. Documentation can be found at: <A HREF="http://hesweb1.med.virginia.edu/biostat/s/Design.html">http://hesweb1.med.virginia.edu/biostat/s/Design.html</A> [[alternative HTML version deleted]] ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
