Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pole MIAME
Renosaum
Bretagne
Abundance
Commits
bd916b9c
Commit
bd916b9c
authored
Jul 02, 2020
by
Lebot Clément
Browse files
New run script
parent
50cce655
Changes
1
Hide whitespace changes
Inline
Side-by-side
adultabundance/run_adultabundance.R
View file @
bd916b9c
...
...
@@ -33,7 +33,7 @@ lastyS <- 2017
wd_model
<-
"/adultabundance"
## Set your own working directory
wd
<-
paste0
(
"
...
"
,
wd_model
)
wd
<-
paste0
(
"
C:/Users/clebot/Desktop/OneDrive Entreprise/RENOSAUM/git_article
"
,
wd_model
)
setwd
(
wd
)
##-----------------------------DATA ----------------------------------##
...
...
@@ -106,10 +106,6 @@ fit.mat <- as.matrix(fit.mcmc)
mydf
<-
cbind
(
summary
(
fit.mcmc
)
$
statistics
[,
c
(
"Mean"
,
"SD"
)],
summary
(
fit.mcmc
)
$
quantiles
)
mydf
<-
cbind
(
rownames
(
mydf
),
mydf
)
rownames
(
mydf
)
<-
NULL
colnames
(
mydf
)[
1
]
<-
c
(
"Variable"
)
write.table
(
mydf
,
file
=
paste
(
'result/stat'
,
model_name
,
'.csv'
,
sep
=
""
),
sep
=
","
,
row.names
=
FALSE
)
write.table
(
mydf
,
file
=
paste
(
'result/stat'
,
model_name
,
'.csv'
,
sep
=
""
),
sep
=
","
,
row.names
=
T
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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