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
7d93823d
Commit
7d93823d
authored
Dec 22, 2016
by
Chris Jewell
Browse files
Fixed mismatched brace in doc for HaldDP.
parent
4a9dcc4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
R/interface.R
View file @
7d93823d
...
...
@@ -74,7 +74,7 @@
#' are appended to any previous iterations, or overwrites them. When
#' \code{append = TRUE}, the starting values are the last iteration and no
#' \code{burn_in} is removed. Running the model for the first time, or changing any
#' model or fitting parameters will set \code{append = FALSE}.
#' model or fitting parameters will set \code{append = FALSE}.
}
#'
#' \item{\code{print_data}}{returns a list containing the human data \code{y}
#' (an array y[types, times, locations]), the source data \code{X} (an array X[types, sources, times]),
...
...
@@ -124,7 +124,7 @@
#' are \code{"percentiles"} and \code{"spin"}).
#' See \code{extract} for details on the subsetting. \code{lambda_j_prop} returns the
#' proportion of cases attributed to each source \code{j} and is calculated by dividing
#' each iteration of \code{lambda_{jtl}} values by their sum within each time \code{t} and location \code{l}.}
.}
#' each iteration of \code{lambda_{jtl}} values by their sum within each time \code{t} and location \code{l}.}
#'
#' \item{\code{plot_heatmap(iters, cols = c("blue","white"), hclust_method = "complete")}}{
#' Creates a dendrogram and heatmap for the type effect groupings (\code{s} parameter in the model).
...
...
man/HaldDP.Rd
View file @
7d93823d
...
...
@@ -73,7 +73,7 @@ Runs the HaldDP source attribution model
are
appended
to
any
previous
iterations
,
or
overwrites
them
.
When
\
code
{
append
=
TRUE
},
the
starting
values
are
the
last
iteration
and
no
\
code
{
burn_in
}
is
removed
.
Running
the
model
for
the
first
time
,
or
changing
any
model
or
fitting
parameters
will
set
\
code
{
append
=
FALSE
}.
model
or
fitting
parameters
will
set
\
code
{
append
=
FALSE
}.
}
\
item
{\
code
{
print_data
}}{
returns
a
list
containing
the
human
data
\
code
{
y
}
(
an
array
y
[
types
,
times
,
locations
]),
the
source
data
\
code
{
X
}
(
an
array
X
[
types
,
sources
,
times
]),
...
...
@@ -123,7 +123,7 @@ Runs the HaldDP source attribution model
are
\
code
{
"percentiles"
}
and
\
code
{
"spin"
}).
See
\
code
{
extract
}
for
details
on
the
subsetting
.
\
code
{
lambda_j_prop
}
returns
the
proportion
of
cases
attributed
to
each
source
\
code
{
j
}
and
is
calculated
by
dividing
each
iteration
of
\
code
{
lambda_
{
jtl
}}
values
by
their
sum
within
each
time
\
code
{
t
}
and
location
\
code
{
l
}.}
.}
each
iteration
of
\
code
{
lambda_
{
jtl
}}
values
by
their
sum
within
each
time
\
code
{
t
}
and
location
\
code
{
l
}.}
\
item
{\
code
{
plot_heatmap
(
iters
,
cols
=
c
(
"blue"
,
"white"
),
hclust_method
=
"complete"
)}}{
Creates
a
dendrogram
and
heatmap
for
the
type
effect
groupings
(\
code
{
s
}
parameter
in
the
model
).
...
...
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