Displaying 2 results from an estimated 2 matches for "tp4536162p4536162".
Did you mean:
tp4536162p4536189
2012 Apr 05
1
Function - simple question
...lue = 4. So, I'd have the following values for Z: 4, 3, 4.
How can I create a function like that? (Sorry, I know it's a dumb question,
I began to use R two days ago)
Thank you very much,
Lacerda
--
View this message in context: http://r.789695.n4.nabble.com/Function-simple-question-tp4536162p4536162.html
Sent from the R help mailing list archive at Nabble.com.
2012 Mar 25
2
avoiding for loops
I have data that looks like this:
> df1
group id
1 red A
2 red B
3 red C
4 blue D
5 blue E
6 blue F
I want a list of the groups containing vectors with the ids. I am
avoiding subset(), as it is
only recommended for interactive use. Here's what I have so far:
df1 <- data.frame(group=c("red", "red", "red", "blue",