Displaying 3 results from an estimated 3 matches for "walk2".
Did you mean:
walk
2006 Feb 19
2
changing names of vectors in list or data.frame
...;=passive, "none"=none,
"ctr.8w"=ctr.8w))
> walk
values ind
1 9.00 active
[...rows deleted...]
23 11.50 ctr.8w
I want to name the first column "walking" and the second column
"training". How do I do this?
Here is a second example:
> walk2 <- data.frame(c(active, passive, none, ctr.8w), c(rep(1:4,
c(length(active), length(passive), length(none), length(ctr.8w)))))
> walk2
c.active..passive..none..ctr.8w.
1 9.00
[...rows deleted...]
23 11.50
c.rep.1.4..c.length.acti...
2006 Feb 20
2
glob2rx function not working
Dear R users,
Inspired by previous list discussion of the glob2rxc function, I am
attempting to create a new vector called TOTAL by summing all vectors
whose names begin with ABC:
TOTAL = sum(list = ls(pattern = glob2rx("ABC*")))
I'm running R 2.2.1 on Windows XP. Can anyone say what I'm missing?
Thank you, Mark
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...c_movie_get_mouse_events (ret))
+ if (events && ret && !swfdec_movie_get_mouse_events (ret))
ret = NULL;
return ret;
@@ -680,8 +680,10 @@ static SwfdecMovie *
swfdec_movie_do_contains (SwfdecMovie *movie, double x, double y, gboolean events)
{
GList *walk;
+ GSList *walk2;
SwfdecMovie *ret, *got;
+ ret = NULL;
for (walk = movie->list; walk; walk = walk->next) {
SwfdecMovie *child = walk->data;
@@ -714,6 +716,16 @@ swfdec_movie_do_contains (SwfdecMovie *movie, double x, double y, gboolean event
}
}
}
+ if (ret)
+ return...