Displaying 4 results from an estimated 4 matches for "ungulate".
Did you mean:
regulate
2012 Oct 26
1
Openbugs- Array Index
Hi,
I'm working on the codes below however every time I run them when they get
to OpenBUGS I keep getting the error message: array index is greater than
array upper bound for hab.
Any help would be greatly appreciated,
Suzie
Codes:
ungulate <- read.csv(file.choose ()) #ungulate
ungulate <-
as.matrix(ungulate);colnames(ungulate)<-NULL;rownames(ungulate)<-NULL
habitat <- read.csv(file.choose ()) #ungulate habitat
habitat <- habitat[,3]
site.data <- read.csv(file.choose ())...
2012 Jul 07
4
replacement has length zero
I have been working on the following code but keep getting an err message. My
current thinking is that the problem is on the indexing but do not know how
to fix it. Any help please?
ungulate <- read.csv("Ungulate.csv",row.names=1)
ungulate <-
as.matrix(ungulate);colnames(ungulate)<-NULL;rownames(ungulate)<-NULL
habitat <- read.csv("Ungulate_vegetation.csv")
habitat <- habitat[,3]
site.data <- read.csv("Ungulate_site.csv")
site <- si...
2009 Jul 30
0
temporal and spatial pseudorreplication with lmer
Dear all,
I am trying to fit a generalized linear mixed model to deal with both temporal and spatial pseudorreplication.
I have repeated seasonal measurements (3 seasons during 3 years and 2 season during the last year, factor named percod, with 11 levels) of a bird presence/absence (pres.f) on 14 artificial ponds (charca.f). The ponds are integrated in 4 greater spatial units (zepa). I have
2012 Jul 13
3
Help with R2 OpenBUGs
...urrently working on the below codes however whenever I run it in
openbugs it gives an error message saying: unknown type of logical function
error pos 76. Any help would be appreciated.
## bugs code
library(R2OpenBUGS)
sink("C:/Users/CCF/Documents/Suzie Work/PTY Project/Waterhole
Correction/ungulate.txt")
cat("
model{
# hyperparameters
# habitat effects for each functional group
g <- length(table(G))
for(i in 1:g){ # number of functional group
for(j in 1:3){ # number of habitat type
mu.h[i,j] ~ dnorm(0,0.0001) I(-5,5)
sigma.h[i,j] ~ dunif(0,5)
tau.h[i,j] <- 1/(sigma.h[i,j]*...