Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kunstler Georges
traitcompet
Commits
a77de9cc
Commit
a77de9cc
authored
Sep 13, 2015
by
kunstler
Browse files
fix error in jags
parent
2a0ea9ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/analysis/jags.run.R
View file @
a77de9cc
...
...
@@ -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.
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment