o
info[eval(parse(text=tests$rule[2])),]
first country age name
2 NA Iceland 55 Paul
3 NA Ireland 66 Robert
4 NA Greenland 79 John
5 NA Greenland 80 Ivan
A.K.
----- Original Message -----
From: New RUser
To: r-help@r-project.org
Cc:
Sent: Tuesday, July 3, 2012 12:
Hello,
I've changed the way you create data.frame 'tests', like it was the
conditions were factors, which are coded as integers. We need them of
class character to be parsed. Note that the same could be done with the
data.frame 'info' but it's not absolutely needed.
tests <- data.frame(rule
#I have a dataframe called "tests" that contain "character expressions". These
characters are rules that use data from within another dataframe. Is there
any way within R I can access the rules in the dataframe called tests, and
then "evaluate" these "rules"?
#An example may better explain wha
3 matches
Mail list logo