TS_key_dmt | R Documentation |
The TS_key_dmt
-function can create a sample
where different trigonometric functions live at separate
levels. The purpose of this function is to provide examples
that can be used to sanity test the code used to inspect the
local Gaussian spectral densities.
TS_key_dmt(
n,
A,
delta,
delta_range = NULL,
alpha,
theta = NULL,
wn = list(type = "rnorm", args = list(mean = 0, sd = 1), adjust = 0),
seed = NULL
)
n |
The number of samples to create. |
A |
A matrix whose first row should be the positions and
second row should be the probabilities of getting there. The
cases of main interest to investigate is the case where this
describes a process having expectation |
delta |
Either a single number, or a vector whose length
equals the number of columns in |
delta_range |
Either |
alpha |
Either a single number, or a vector whose length equals
the number of columns in |
theta |
Either a single number, or a vector whose length
equals the number of columns in |
wn |
A list that specifies how to sample from some
distribution. The default is to use standard normal white
noise. Note: It is assumed that this should be white noise,
but there's no test that prevents a user from selecting
something different. The value |
seed |
An integer to be used for the specification of a seed, the default value NULL will trigger a seed to be selected at random. |
A sample of length n
based on the specifications
given in the other arguments
This internal function has been added to the
TS_families
-list, and its arguments should thus be given
to TS_sample
, which will send them to this function by
the internal helper-function TS_sample_helper
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.