Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Poppy Miller
sourceR
Commits
8fabfbce
Commit
8fabfbce
authored
Dec 06, 2016
by
Chris Jewell
Browse files
Changed Posterior to Posterior_HaldDP to match the Hald_DP model.
parent
03bd651b
Changes
2
Hide whitespace changes
Inline
Side-by-side
R/interface.R
View file @
8fabfbce
...
...
@@ -280,7 +280,7 @@ HaldDP <- R6::R6Class(
{
## create posterior if no posterior exists or if append = FALSE
private
$
posterior
<-
Posterior
$
new
(
Posterior
_HaldDP
$
new
(
nSources
=
private
$
nSources
,
nTimes
=
private
$
nTimes
,
nLocations
=
private
$
nLocations
,
...
...
@@ -293,7 +293,7 @@ HaldDP <- R6::R6Class(
namesIters
=
1
:
private
$
n_iter
)
}
else
{
new_post
<-
Posterior
$
new
(
new_post
<-
Posterior
_HaldDP
$
new
(
nSources
=
private
$
nSources
,
nTimes
=
private
$
nTimes
,
nLocations
=
private
$
nLocations
,
...
...
R/posterior.R
View file @
8fabfbce
Posterior
=
R6
::
R6Class
(
Posterior
_HaldDP
=
R6
::
R6Class
(
"Posterior"
,
public
=
list
(
q
=
NULL
,
...
...
Write
Preview
Supports
Markdown
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