Description Usage Arguments Value Note References See Also Examples
Produces start and end times for occurrences for each repeated measure condition.
1 2 3 4 5 6 7 8 |
rm.var |
An optional single vector or list of 1 or 2 of repeated measures to facet by. |
text.var |
The text variable. |
grouping.var |
The grouping variables. Also takes a single grouping variable or a list of 1 or more grouping variables. |
units |
The unit of measurement to analyze. One of the strings
|
col.sep |
The character string to use to separate pasted variables in the pasted columns. |
name.sep |
The character string to use to separate column names of the pasted columns. |
Returns a data frame of start and end times by repeated measure and grouping variable(s)
For non-repeated measures data use gantt
. For
more flexible plotting needs use gantt_wrap
over the
generic plotting method.
Clark, W. & Gantt, H. (1922) The Gantt chart, a working tool of management. New York, Ronald Press.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
dat <- with(rajSPLIT, gantt_rep(act, dialogue, list(fam.aff, sex),
units = "words", col.sep = "_"))
head(dat, 20)
plot(dat)
gantt_wrap(dat, "fam.aff_sex", facet.vars = "act",
title = "Repeated Measures Gantt Plot",
minor.line.freq = 25, major.line.freq = 100)
## Two facets variables
dat2 <- with(DATA2, gantt_rep(list(day, class), state, person,
units = "words", col.sep = "_"))
head(dat2, 20)
plot(dat2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.