1 Aug 2009 01:04
Re: scale subset of data
Noah Silverman <noah <at> smartmediacorp.com>
2009-07-31 23:04:14 GMT
2009-07-31 23:04:14 GMT
That works perfectly. Thanks! -N On 7/31/09 2:04 PM, Steve Lianoglou wrote: > Hi, > > On Jul 31, 2009, at 4:13 PM, Noah Silverman wrote: > >> Hi, >> >> This should be an easy one, but I have some trouble formatting the data >> right >> >> I'm trying to replace the column of a subset of a dataframe with the >> scaled data for that column of the subset >> >> subset(rawdata, code== "foo", select = a) <- scale( subset(rawdata, >> code== "foo", select = a) ) >> >> It returns: could not find function "subset<-" >> >> The scale command works individually and the subset command works >> individually. >> >> Can someone help me format this command line correctly? > > How about:(Continue reading)
RSS Feed