Description Usage Arguments Details Value Author(s) See Also Examples
Builds an object of class list of lists, from two columns, of a data.frame
. The first one contains the succession of codes to use, the second is a factor adequate to split the series into separate bouts.
1 | makeSeries(x, fac)
|
x |
|
fac |
|
Suppose we observe the succession a,c,d,a,a,f on the subject A and b,d,f,e,c,c,a,d on the subject B. This can be coded as the concatenation
x: a,c,d,a,a,f,b,d,f,e,c,c,a,d
fac: A,A,A,A,A,A,B,B,B,B,B,B,B,B
fac indicating that the 6 first itms were successively emitted by A and the 8 following by B. See example.
a list of lists, one per level of the factor fac
Jean-Sebastien Pierre
read.old.seq
, read.series.seq
,compseq
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.