[R] Finding/identifying a value within a factor
daniel at umd.edu
Mon Jul 25 19:50:59 CEST 2011
Ryan Utz-2 wrote:
> Hi all,
> I'm trying to identify a particular digit or value within a vector of
> factors. Specifically, this is environmental data where in some cases the
> minimum value reported is "<" a particular number (and I want to
> only these). For example:
> For a dataset that is hundreds or thousands of lines long, I'd like to
> or identify only those that have a "<" symbol (R automatically stores the
> entire vector in factor format due to these symbols when it imports the
> data-I don't mind converting if necessary). Eventually, I'd like to divide
> the number in half for these cases, but I think I have that coding lined
> once I can just identify them from the stew.
> I've exhausted help and net resources so far...
> Ryan Utz, Ph.D.
> Aquatic Ecologist/STREON Scientist
> National Ecological Observatory Network
> Home/Cell: (724) 272-7769
> Work: (720) 746-4844 ext. 2488
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://r.789695.n4.nabble.com/Finding-identifying-a-value-within-a-factor-tp3693426p3693477.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help