[Depmix-commits] r249 - trunk/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Feb 17 11:35:00 CET 2009


Author: ingmarvisser
Date: 2009-02-17 11:35:00 +0100 (Tue, 17 Feb 2009)
New Revision: 249

Added:
   trunk/man/mix.sim-class.Rd
Log:
Added help file for mix.sim class

Added: trunk/man/mix.sim-class.Rd
===================================================================
--- trunk/man/mix.sim-class.Rd	                        (rev 0)
+++ trunk/man/mix.sim-class.Rd	2009-02-17 10:35:00 UTC (rev 249)
@@ -0,0 +1,68 @@
+\name{mix.sim-class}
+
+\docType{class}
+
+\alias{mix.sim}
+\alias{mix.sim-class}
+
+\alias{nresp,mix.sim-method}
+\alias{ntimes,mix.sim-method}
+\alias{nstates,mix.sim-method}
+
+
+\title{Class "mix.sim"}
+
+\description{A \code{mix.sim} model. The \code{mix.sim} class directly
+extends the \code{\link{mix}} class, and has an additional slot for the
+true states. A \code{mix.sim} model can be generated by
+\code{simulate(mod,...)}, where \code{mod} is a \code{\link{mix}} model.}
+
+\section{Slots}{
+
+	\describe{
+
+	\item{\code{response}:}{List of list of \code{response} objects.}
+	
+	\item{\code{prior}:}{\code{\link{transInit}} object.}
+	
+	\item{\code{dens}:}{Array of dimension sum(ntimes)*nresp*nstates
+		providing the densities of the observed responses for each state.}
+	
+	\item{\code{init}:}{Array of dimension \code{length(ntimes)}*nstates with 
+		the current predictions for the initial state probabilities.}
+	
+	\item{\code{stationary}:}{Logical indicating whether the transitions are
+		time-dependent or not; for internal use.}
+	
+	\item{\code{ntimes}:}{A vector containing the lengths of independent time
+		series; if data is provided, sum(ntimes) must be equal to
+		nrow(data).}
+
+	\item{\code{nstates}:}{The number of states/classes of the model.}
+
+	\item{\code{nresp}:}{The number of independent responses.}
+
+	\item{\code{npars}:}{The total number of parameters of the model.  
+		This is not the degrees of freedom, ie there are redundancies in the
+		parameters, in particular in the multinomial models for the transitions
+		and prior.}
+		
+  \item{\code{states}:}{A matrix with the true states/classes.}
+
+	}
+}
+
+\section{Accessor Functions}{
+	The following functions should be used for accessing the corresponding
+	slots:
+	\describe{
+		\item{\code{npar}:}{The number of parameters of the model.}
+		\item{\code{nresp}:}{The number of responses.}
+		\item{\code{nstates}:}{The number of states.}
+		\item{\code{ntimes}:}{The vector of independent time series lengths.}
+	}
+}
+
+\author{Ingmar Visser}
+
+\keyword{classes}



More information about the depmix-commits mailing list