Displaying 2 results from an estimated 2 matches for "tp4536584p4536584".
2012 Apr 06
2
Help with gsub function or a similar function
...course it replaces the
second 15 with something else too. If there's a way to exclude anything with
a leading decimal point or something like that, that would do the trick.
Thanks yall.
--
View this message in context: http://r.789695.n4.nabble.com/Help-with-gsub-function-or-a-similar-function-tp4536584p4536584.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",