Displaying 3 results from an estimated 3 matches for "nseeds".
Did you mean:
needs
2003 Jul 04
0
degrees of freedom in nlme() (PR#2384)
...not nlme(). However, nlme() may return the wrong number of degrees
of freedom without warning and because of that I believe this issue should
be considered seriously.
Sincerely,
Jerome Asselin
nlme package version: 3.1-43
R version: 1.7.1 running on Red Hat Linux 7.2
###########
library(nlme)
nseeds <- 20
DF <- numeric(nseeds)
for(i in 1:nseeds)
{
set.seed(i)
a <- 2
x <- rep(rnorm(3),rep(5,3))
id <- rep(c("a","b","c"),rep(5,3))
y <- a+x+rnorm(15)
data <- data.frame(y=y,id=id)
initx <- matrix(x[c(1,6,11)],dimnames=list(c("a","...
2010 Nov 10
1
Difficult doubt about choose distances randomly in a matrix with a probability of event
I would like to build a model in R to simulate the seed dispersal by one plant.
The plant produced 5 seeds and the probability of falling inside the eight closest space was 0.8 and in the next space 0.2 and in the rest space 0:
0
0
0
0
0
0
0.2
0.2
0.2
0.2
0.2
0
0.2
0.8
0.8
0.8
0.2
0
0.2
0.8
1
0.8
0.2
0
0.2
0.8
0.8
0.8
0.2
0
0.2
0.2
0.2
0.2
0.2
0
0
0
0
0
0
0
2009 Jul 30
3
user supplied random number generators
?Random.user says (in svn trunk)
Optionally,
functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be
supplied which are called with no arguments and should return pointers
to the number of seeds and to an integer array of seeds. Calls to
\code{GetRNGstate} and \code{PutRNGstate} will then copy this array to
and from \code{.Random.seed}.
And it offers as an example
void