[Gmm-commits] r104 - pkg/gmm/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 12 15:54:34 CEST 2017
Author: chaussep
Date: 2017-06-12 15:54:33 +0200 (Mon, 12 Jun 2017)
New Revision: 104
Modified:
pkg/gmm/man/gmm.Rd
Log:
fixed a warning in gmm examples
Modified: pkg/gmm/man/gmm.Rd
===================================================================
--- pkg/gmm/man/gmm.Rd 2017-06-09 13:26:23 UTC (rev 103)
+++ pkg/gmm/man/gmm.Rd 2017-06-12 13:54:33 UTC (rev 104)
@@ -301,9 +301,10 @@
# Brent should be used
# without named vector
-gmm(g, x, c(4, 0), grad = Dg, eqConst=1)
+# Method Brent is used because the problem is now one-dimensional
+gmm(g, x, c(4, 0), grad = Dg, eqConst=1, method="Brent", lower=-10,upper=10)
# with named vector
-gmm(g, x, c(mu=4, sig=2), grad = Dg, eqConst="sig")
+gmm(g, x, c(mu=4, sig=2), grad = Dg, eqConst="sig", method="Brent", lower=-10,upper=10)
## End(Not run)
More information about the Gmm-commits
mailing list