[Depmix-commits] r501 - pkg/depmixS4/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 1 14:21:04 CET 2011


Author: ingmarvisser
Date: 2011-11-01 14:21:04 +0100 (Tue, 01 Nov 2011)
New Revision: 501

Modified:
   pkg/depmixS4/man/responses.Rd
Log:
Fixed a documentation error in ?responses.

Modified: pkg/depmixS4/man/responses.Rd
===================================================================
--- pkg/depmixS4/man/responses.Rd	2011-11-01 11:56:53 UTC (rev 500)
+++ pkg/depmixS4/man/responses.Rd	2011-11-01 13:21:04 UTC (rev 501)
@@ -137,7 +137,8 @@
 	# row can be different
 	dt <- data.frame(y1=c(0,1,1,2,4,5),y2=c(1,0,1,0,1,0),y3=c(4,4,3,2,1,1))
 	m2 <- mix(cbind(y1,y2,y3)~1,data=dt,ns=2,family=multinomial("identity"))
-	fm2 <- summary(fm2)
+	fm2 <- fit(m2)
+	summary(fm2)
 	
 	# multivariate normal response model
 	mn <- c(1,2,3)



More information about the depmix-commits mailing list