Commit a77de9cc authored by kunstler's avatar kunstler
Browse files

fix error in jags

parent 2a0ea9ec
......@@ -110,7 +110,7 @@ run.jags.b <- function (model.file, trait, init.TF,
sample.size = NA,
ecocode.var = 'wwf',
Multi.type = 'a',
var.sample = NA,
var.sample = 'wwf',
select.set = NA,
merge.biomes.TF = FALSE,
...) {
......@@ -130,7 +130,6 @@ print('OK')
jags.list <- fun.load.data.list(trait, data.type,
sample.size. = sample.size,
ecocode.var. = ecocode.var,
Multi.type. = Multi.type,
var.sample. = var.sample,
select.set. = select.set,
sample.vec.TF = FALSE,
......@@ -142,7 +141,6 @@ print('OK')
jags.list <- fun.load.data.list(trait, data.type,
sample.size. = sample.size,
ecocode.var. = ecocode.var,
Multi.type. = Multi.type,
var.sample. = var.sample,
select.set. = select.set,
sample.vec.TF = TRUE,
......@@ -163,7 +161,7 @@ print('OK')
#========================================================================
fun.load.data.list <- function(trait, data.type ,
base.dir = 'output/processed', sample.size.,
ecocode.var., Multi.type., var.sample. = 'ecocode',
ecocode.var., var.sample. = 'wwf',
select.set. = NA, select.biome. = NA,
sample.vec.TF., merge.biomes.TF = FALSE){
......@@ -172,7 +170,6 @@ fun.load.data.list <- function(trait, data.type ,
base.dir,
sample.size. = sample.size.,
ecocode.var. = ecocode.var.,
Multi.type. = Multi.type.,
var.sample. = var.sample.,
select.biome. = select.biome.,
sample.vec.TF. = sample.vec.TF.,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment