launch_sequenchr: Launches the sequenchr Shiny app

Description Usage Arguments Value Examples

View source: R/launch_sequenchr.R

Description

Launches the sequenchr app in the default web browser. Optional covariates_data adds a tab containing plots of the marginal distributions of these covariates.

Usage

1
launch_sequenchr(sequence_data, covariates_data = NULL)

Arguments

sequence_data

an object created from TraMineR::seqdef

covariates_data

optional. a dataframe with the same number of rows as sequence_data

Value

launches the sequenchr Shiny app

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(TraMineR)
data(mvad)
seqstatl(mvad[, 17:86])
mvad.alphabet <- c("employment", "FE", "HE", "joblessness", "school",
                   "training")
mvad.labels <- c("employment", "further education", "higher education",
                 "joblessness", "school", "training")
mvad.seq <- seqdef(mvad, 17:86, alphabet = mvad.alphabet,
                   labels = mvad.labels, xtstep = 6)
#launch_sequenchr(mvad.seq)

joemarlo/sequenchr documentation built on Sept. 29, 2021, 12:23 a.m.