View source: R/getSampleFunctions.R
getInitialPosition | R Documentation |
For a given MTN the function returns an initial vector whose elements are one of:
(1) middle point of the truncation interval if both lower and upper bounds are
finite (2) lower (upper) bound +0.1 (-0.1) if only the lower (upper) bound is finite
(3) the corresponding mean value if lower bound = -Inf
are upper bound = Inf
.
getInitialPosition(mean, lowerBounds, upperBounds)
mean |
a d-dimensional mean vector. |
lowerBounds |
a d-dimensional vector specifying the lower bounds. |
upperBounds |
a d-dimensional vector specifying the lower bounds. |
an eligible d-dimensional initial vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.