Learn R Programming

codyna (version 0.1.0)

sequence_indices: Compute Sequence Indices for Sequence Data

Description

Compute Sequence Indices for Sequence Data

Usage

sequence_indices(data, cols, favorable, omega = 1)

Value

A tibble containing the index values.

Arguments

data

[data.frame, matrix, stslist]
Sequence data in wide format (rows are sequences, columns are time points).

cols

[expression]
A tidy selection of columns that should be considered as sequence data. By default, all columns are used.

favorable

[character()]
Names of states that should be considered as favorable states.

omega

[numeric(1)]
Omega parameter value used to compute the integrative potential.

Examples

Run this code
sequence_indices(engagement)

Run the code above in your browser using DataLab