Learn R Programming

multibreakeR (version 0.1.0)

Simul: Simul

Description

#Simulate data to test the functions

Usage

Simul(n = 100, p = 5, intensity = 1, when.break = 0.5)

Value

A matrix of time series with a common break

Arguments

n

The number of time series observations

p

The number of time series

intensity

The intensity of the break

when.break

When should the break be simulated (as a percentage of the time series sample)

Examples

Run this code
data(example_data)
simul.data <- Simul(n = 100, p = 5, intensity = 1, when.break = 0.5)

Run the code above in your browser using DataLab