search for: mc2d

Displaying 8 results from an estimated 8 matches for "mc2d".

Did you mean: mb2d
2011 May 19
1
dbetagen function in mc2d package
...alculates its density leaves me puzzled, especially when I plotted it: plot(function(y) dbetagen(y,4,1.2,min=0,max=40),xlim=c(0,40)) The area between the density curve and the x axis does not seem to measure 1!!! -- View this message in context: http://r.789695.n4.nabble.com/dbetagen-function-in-mc2d-package-tp3535411p3535411.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
2012 Mar 17
3
rtriang using ifelse statement
...s aren't occurring. Is there a way to adjust the ifelse statement to fix this, or must I take an entirely different approach? Many thanks for your help. > matrx <- matrix(c(2, 1, 1, 2, 2,1), nc=nx) > matrx [,1] [,2] [,3] [1,] 2 1 2 [2,] 1 2 1 > # rtriang from mc2d package: function (n, min = -1, mode = 0, max = 1) >* dmatrx<- ifelse(matrx==1, rtriang(4, min=0.001, mode=matrx, max=2.001), rtriang(4, min=2, mode=matrx, max=3))* Warning message: In rtriang(4, min = 2, mode = matrx, max = 3) : NaN in rtriang > dmatrx [,1] [,2] [,3] [...
2010 Nov 18
1
dmultinomial
...lo All, I'm trying to run a maximum likelihood analysis using dmultinomial (i'm avoiding dmultinom as I'd like to run it with vectors for the ML stuff). However, I'm having a hard time getting even the simplest example running. Any help would be greatly appreciated. > library(mc2d) > dmultinomial(x=c(0,0,1),prob=c(1,1,1),size=1,log=TRUE) Error in if (ncol(x) != K) stop("x[] and prob[] must be equal length vectors or equal col matrix.") : argument is of length zero # Once I get the simple stuff above running, I'd like to be able to do the following: >...
2012 Mar 10
1
Draw values from multiple data sets as inputs to a Monte-Carlo function; then apply across entire matrix
Hi all, I am trying to implement a Monte-Carlo simulation for each cell in a spatial matrix (using mcd2 package) . I have figured out how to conduct the simulation using data from a single location (where I manually input distribution parameters into the R code), but am having trouble (a) adjusting the code to pull input variables from my various data sets and then (b) applying the entire
2010 Mar 14
3
CRAN (and crantastic) updates this week
...1), hyperdirichlet (1.4-2), ibr (1.2.1), ic.infer (1.1-3), Imap (1.32), integrativeME (1.2), integrOmics (2.55), interval (0.9-9.6), ipw (1.0-4), kml (1.1.1), ks (1.6.11), latticeExtra (0.6-9), lda (1.2), lokern (1.0-9), longitudinalData (0.6.3), MAc (1.0.5), MAc (1.0.6), MAd (0.2), mboost (2.0-3), mc2d (0.1-7), mclust (3.4.3), MCMCglmm (2.03), mhsmm (0.3.2), mixAK (0.8), MKmisc (0.6.1), monomvn (1.8-1), MplusAutomation (0.2-2), MplusAutomation (0.2-3), multcomp (1.1-6), mvpart (1.3-1), ncvreg (2.0), neuralnet (1.3), nlstools (0.0-10), noia (0.94), nor1mix (1.1-2), party (0.9-9993), pcaPP (1.8), p...
2009 Aug 24
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ Updated packages ---------------- New reviews ----------- This email provided as a service for the R community by http://crantastic.org. Like it? Hate it? Please let us know: cranatic at gmail.com.
2012 Apr 15
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * disclapmix (0.1) Maintainer: Mikkel Meyer Andersen Author(s): Mikkel Meyer Andersen and Poul Svante Eriksen License: GPL-2 http://crantastic.org/packages/disclapmix disclapmix makes inference in a mixture of Discrete Laplace distributions using the EM algorithm. * EstSimPDMP (1.1) Maintainer: Unknown Author(s):
2010 Jul 18
6
CRAN (and crantastic) updates this week
...4), logging (0.4-42), logistf (1.10), longitudinalData (0.6.5), lordif (0.1-5), ltm (0.9-4), maanova (1.18.0), MAc (1.1), MAd (0.8), mapdata (2.1-3), maps (2.1-4), maptools (0.7-34), marelac (2.1), MASS (7.3-7), Matrix (0.999375-42), matrixStats (0.2.1), maxLik (0.7-2), mbmdr (2.1), mboost (2.0-6), mc2d (0.1-8), mclust (3.4.4), mcmc (0.8), mco (1.0.9), mecdf (0.4.1), memisc (0.95-30), meta (1.6-0), MetabolAnalyze (1.1), metafor (1.3-0), mgcv (1.6-2), mhsmm (0.3.5), mi (0.09-11), micEcon (0.6-4), micEconAids (0.6-4), minet (2.4.0), minqa (1.1.8), miscTools (0.6-2), mitools (2.0.1), mixAK (1.0), mix...