Description Usage Arguments Details Value Author(s) See Also Examples
Input from a text file of a series of behavioral (or any other type) sequences. Builds an object of class sequence
1 | read.series.seq(fich = NULL)
|
fich |
character: name of the text file to read |
The text file must have one line by sequence. Each line must begin by a character identifier of the sequence, followed by a tab character or a space, followed by the series of item codes, separated also by tabs or spaces.
example:
A1 A B A C D A B C
A2 A D D C A B
A3 B D C A D A B C
A4 C B C A
A5 C D A B C
An object of class sequence
Jean-Sebastien Pierre
Jean-sebastien.pierre@univ-rennes1.fr
1 2 3 4 5 6 7 8 9 | sink("series-seq")
cat("A1 A B A C D A B C\n")
cat("A2 A D D C A B\n")
cat("A3 B D C A D A B C\n")
cat("A4 C B C A\n")
cat("A5 C D A B C\n")
sink()
read.series.seq("series-seq")
file.remove("series-seq")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.