Displaying 2 results from an estimated 2 matches for "miliani".
Did you mean:
milianw
2010 Apr 18
3
loops and if statements
Hello,
I am very new to R and data analysis in general.
I am trying to generate values to append to my data frame using
conditional statements.
I am playing with this simple example:
a <- c(1:4)
b <- c("meep", "foo", "meep", "foo")
d <- cbind(a, b)
now what I want to do is , each time there is a "meep" in column 2 of
d, print
2010 Apr 18
1
Comparing data frames
Dear very helpful friends,
It is Sunday, there is no air traffic in Europe, what better to do
than try and learn me some more R.
I have the following example:
owner <- c(1:4)
animal <- c("cat", "dog", "cat", "dog")
char.1 <- c("fluffy", "playful", "mean", "stupid")
food <- c("cat food",