Description Usage Arguments Value Author(s) Examples
Reshape longitudinal data with t
time slices into a longitudinal
data with two time slices.
1 | dataReshape(theData = NULL, numTime = NULL)
|
theData |
a data frame containing longitudinal data to which the model will be fit. |
numTime |
number of time slices. |
A data frame representing longitudinal data with
two time slices, such that the first n
data points contain the
relations that occur in the first two time slices
t_0
and t_1
. The next n
data points contain the
relations that occur in time slices t_1
and t_2
.
The i-th
subset of n
data points contain the relations
in time slices t_i-1
and t_i
. The reshaped data can be used
as data input for function stableSpec
when computing longitudinal data.
Ridho Rahmadi r.rahmadi@cs.ru.nl
1 2 3 | the_data <- longiData4V3T
num_time <- 3
reshaped_the_data <- dataReshape(the_data, num_time)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.