FormatOut: Formats the data in the "Solve" function for output.

Description Usage Arguments Value Author(s)

View source: R/FormatOut.R

Description

Data formatting function.

Usage

1
  FormatOut(R, p, lambda, z, datas, likelihood)

Arguments

R

The modal sequences.

p

Proportion of data in each cluster.

lambda

Mallows' spread parameters for each cluster.

z

Probability of cluster membership for each individual.

datas

Matrix of partial sequences.

likelihood

Vector of the log-likelihood of the model at each iteration.

Value

R

The modal sequences

p

Proportion in each cluster

lambda

Spread parameters for each cluster

datas

Rankings merged with their cluster membership, distance from each cluster center, and probability of each cluster membership

min.like

Likelihood at each iteration

Author(s)

Erik Gregory


RMallow documentation built on Feb. 7, 2020, 9:06 a.m.