| simXt | R Documentation | 
Function to simulate X_t. Output is a list object containing the defining parameters. Access the actual time series using $Xt.
simXt(
  N = 1000,
  numTrend = 0,
  a = NULL,
  mu = NULL,
  center = NULL,
  numFreq = 20,
  bandwidth = NULL,
  b = NULL,
  w = NULL,
  p = 0,
  q = 0,
  snr = 1.5
)
N | 
 
  | 
numTrend | 
 
  | 
a | 
 
  | 
mu | 
 
  | 
center | 
 
  | 
numFreq | 
 
  | 
bandwidth | 
 
  | 
b | 
 
  | 
w | 
 
  | 
p | 
 
  | 
snr | 
 
  | 
# Define four different time series
simData_1 <- simXt(N = 1000, numTrend = 2, numFreq = 10, bandwidth = 2, snr = 1.5)
simData_2 <- simXt(N = 1000, numTrend = 4, numFreq = 30, bandwidth = 1, snr = 3)
simData_3 <- simXt(N = 1000, numTrend = 3, a = c(1/3, 2/3, 5/3), mu = 5, numFreq = 20, snr = 0.7)
simData_4 <- simXt(N = 1000, numTrend = 6, numFreq = 40, p = 1, q = 2)                 
                 
# Creating list object containing the time series themselves in preparation for simulateGaps()
 OriginalData = list(D1 = simData_1$Xt,
                     D2 = simData_2$Xt,
                     D3 = simData_3$Xt,
                     D4 = simData_4$Xt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.