Learn R Programming

sequence (version 2.0)

makedico: Build the dictionary of the sequences

Description

Assesses the dictionnary common to various sequences, counts the occurences of each word (item, state)

Usage

makedico(x, printdata = FALSE, printdico = FALSE)

Arguments

x

sequence: an object of class sequence

printdata

printdata logical: print sequences or not.

printdico

printdico logical: print or not the resulting dictionnary.

Value

A list of character strings

Examples

Run this code
# NOT RUN {
data(seriseq)
dic=makedico(seriseq,printdico=TRUE)
# }

Run the code above in your browser using DataLab