print.TS_fit {LDATS}R Documentation

Print a Time Series model fit

Description

Convenience function to print only the most important components of a TS_fit-class object fit by TS.

Usage

## S3 method for class 'TS_fit'
print(x, ...)

Arguments

x

Class TS_fit object to be printed.

...

Not used, simply included to maintain method compatibility.

Value

The non-hidden parts of x as a list.

Examples


  data(rodents)
  document_term_table <- rodents$document_term_table
  document_covariate_table <- rodents$document_covariate_table
  LDA_models <- LDA_set(document_term_table, topics = 2)[[1]]
  data <- document_covariate_table
  data$gamma <- LDA_models@gamma
  weights <- document_weights(document_term_table)
  TSmod <- TS(data, gamma ~ 1, nchangepoints = 1, "newmoon", weights)
  print(TSmod)



[Package LDATS version 0.3.0 Index]