getTimesSubset | R Documentation |
responses
in data
that contains their values for the nominated timesForms a subset of each of the responses
in data
that contains their values for the
nominated times in a single column.
getTimesSubset(data, responses,
individuals = "Snapshot.ID.Tag", times = "DAP",
which.times, suffix = NULL, sep.suffix.times = ".",
include.times = FALSE, include.individuals = FALSE)
data |
A |
responses |
A |
individuals |
A |
times |
A |
which.times |
A |
suffix |
A |
sep.suffix.times |
A |
include.times |
A |
include.individuals |
A |
A data.frame
containing the subset of responses
ordered
by as many of the initial columns of data
as are required to uniquely
identify each row (see order
for more information). The names
of the columns for each of the responses
and for times
in the
subset are the concatenation of their names in data
and suffix
,
separated by a full stop.
Chris Brien
data(exampleData)
sPSALast <- getTimesSubset("sPSA", data = longi.dat, times = "DAP",
which.times = c(42), suffix = "last")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.