read.old.seq: Function to read the deprecated files *.SEQ

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Used to recover the sequence files used in a former DOS version of the program.

Usage

1
read.old.seq(file = "NULL")

Arguments

file

Fichier texte a lire

Details

Only used for compatibility with the old format *.SEQ of program graflux: Items coded by at most 4 characters, One code per line. The separator of sequences is a code of 4 characters beginning by %.
Example:

%001
AAAA
BBBB
EEEE
DDDD
AAAA
FFFF
CCCC
FFFF
%002
FFFF
BBBB
CCCC
....

Value

An object de classe sequence, i.e. a list of lists.

Author(s)

Jean-Sebastien Pierre Jean-sebastien.pierre\@univ-rennes1.fr

References

Pierre, J. S. and C. Kasper (1990). The Design of Ethological Flow-Charts on Factorial Analysis Representations - an Application to the Study of the Male Mole-Cricket Sexual Courtship. Biology of Behaviour 15(3-4): 125-151.(in french)
Van der Heijden, P. G. M. 1986. Transition matrices, model fitting and correspondence analysis. In: Data Analysis and Informatics IV (Ed. by E. Diday), pp. 221-226. Elsevier Science Publishers.

See Also

read.series.seq for a more convenient format, compseq for the analysis

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
sink("old-seq")
cat("%001\n")
cat("aaa\n")
cat("bbb\n")
cat("aaa\n")
cat("ccc\n")
cat("%002\n")
cat("ccc\n")
cat("ccc\n")
cat("aaa\n")
cat("aaa\n")
cat("bbb\n")
sink()
seq1<-read.old.seq("old-seq")
seq1
file.remove("old-seq")

sequence documentation built on March 26, 2020, 7:30 p.m.