Displaying 2 results from an estimated 2 matches for "event_class".
2008 Oct 16
2
Grouped Histogram (colored)
...o create a histogram which shows the frequency of variables
within a certain timeframe.
I've been using SPSS before, but I didn't quite like it...
To describe my problem further here are some example variables:
the "event" is actually a string which I recoded using:
[code]
data$event_class = as.numeric(as.factor(data$event))
[/code]
I've recoded them into numerics
csv:
[code]
time,event,event_class
01,cookies,1
05,cookies,1
06,pie,2
07,coffee,3
08,cookies,1
30,pie,2
31,coffee,3
[/code]
and so on...
Now I'd like to create a histogram where X is the time, the color of the
ar...
2010 Dec 22
2
Callbacks, log messages etc.
...messages it is a struct
of numbers.
Callers can register to receive events in a bitmask class and at a set
of levels by doing:
int /* event_handle */
guestfs_set_event_callback (guestfs_h *g,
guestfs_event_callback cb,
uint64_t event_class_bitmask,
int min_level,
void *opaque);
void guestfs_delete_event_callback (guestfs_h *g, int event_handle);
'guestfs_set_event_callback' would register a callback for all event
classes in 'event_class_bitmask' at level &...