All it took was using 'match' instead of 'which'. Thanks for all your help!
--
View this message in context:
http://www.nabble.com/problem-with-%27which%27-and-strings-tp21955970p21958266.html
Sent from the R help mailing list archive at Nabble.com.
__
You probably want to use either '%in%' or 'match'. The result of 14
that you are getting is due to recycling of the shorter vector and
matching at the 14th position ("Insect-Tolerant").
On Wed, Feb 11, 2009 at 9:20 AM, Chrischizinski
wrote:
>
> I have written a function that goes through a datab
That would allocate, the vector down the column, correct? I should have
specified this clearer. I want to put each metric value into the
appropriate column (as designated by the metric name ) in a single row. My
data set SCORES.combined has the column headings for all potential metrics
that can
Looks like you might be using vector addressing on a non-existent
object.
You have identified a column number, 14, to use. If you wanted to put
the XXX.table$Metric.name vector into a column of orig.metric.scores
(and it already existed with 10 rows), then you would would use matrix
sty
I have written a function that goes through a database and calculates various
metric scores and allocates them to a data set. For 400 of the 500 sites
that I calculate these metrics for works fine and allocates the scores into
the appropriate column. For some reason, some sites I run into the be
5 matches
Mail list logo