Skip to main content

All Questions

1 vote
1 answer
99 views

Sequence analysis clustering CHI2 EUCLID error

I am quite new to sequence analysis and trying to identify clusters in an aggregated sequence matrix, focusing on the state duration. However, when using method='CHI2'/'EUCLID' combined with step=1 (...
Rico's user avatar
  • 69
1 vote
1 answer
132 views

Setting the "tpow" and "expcost" arguments in TraMineR::seqdist

I'm actually working on the pathways of inpatients during their hospital stay. These pathways are represented as states sequences (the current medical unit at each time unit) and I'm trying to find ...
L. Trutt's user avatar
2 votes
3 answers
182 views

How to get the largest possible column sequence with the least possible row NAs from a huge matrix?

I want to select columns from a data frame so that the resulting continuous column-sequences are as long as possible, while the number of rows with NAs is as small as possible, because they have to be ...
jay.sf's user avatar
  • 70.8k