| trimcommand {rtrim} | R Documentation |
Create a trimcommand object
Description
Create a trimcommand object
Usage
trimcommand(...)
Arguments
... |
Options in the form of |
Description
A trimcommand object stores a single TRIM model, including the
specification of the data file. Normally, such an object is defined by
reading a legacy TRIM command file.
Options
-
file[character]name of file containing training data. -
title[character]A string to be printed in the output file. -
ntimes[character]Number of time points. -
ncovars[character]Number of covariates. -
labels[character]Covariate label. -
missing[integer]Missing value indicator. -
weight[logical]Whether a weight column is present in thefile. -
comment[character]A string to be printed in the output file. -
weighting[logical]Whether weights are to be used in the model. -
serialcor[logical]Whether serial correlation is assumed in the model. -
overdist[logical]Whether overdispersion is taken into account by the model. -
basetime[integer]Position of the base time point (must be positive). -
model[integer]What model to use (1, 2 or 3). -
covariates[integer]Number of covariates to include. -
changepoints[integer]Positions of the change points to include. -
stepwise[logical]Whether stepwise selection of the changepoints is to be used. -
autodelete[logical]Whether to autodelete change points when number of observations is to low in a time segment. -
outputfiles[character]Type of outputfile to generate ('F' and/or 'S') -
overallchangepoints[integer]Positions of the overall change points. -
impcovout[logical]Whether the covariance matrix of the imputed counts is saved. -
covin[logical]Whether the covariance matrix is read in.
See Also
Working with TRIM command files and TRIM data files.
Other modelspec:
check_observations(),
read_tcf(),
read_tdf(),
set_trim_verbose(),
trim()