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
7d3ef520
Commit
7d3ef520
authored
Jul 02, 2020
by
Lebot Clément
Browse files
Add result folder
parent
a6126235
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
adultabundance/result/stat_adultabundance.csv
0 → 100644
View file @
7d3ef520
This diff is collapsed.
Click to expand it.
adultabundance/run_adultabundance.R
View file @
7d3ef520
...
...
@@ -99,5 +99,17 @@ cat("Sample analyzed after ", elapsed.time, ' minutes\n')
save
(
fit.mcmc
,
file
=
paste
(
'result/result'
,
model_name
,
'.RData'
,
sep
=
""
))
## STATS
load
(
file
=
paste
(
'result/result'
,
model_name
,
'.RData'
,
sep
=
""
))
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
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