print.gfpop | R Documentation |
Printing the resulting change-point model found by gfpop function
## S3 method for class 'gfpop'
print(x, ...)
x |
a gfpop class object |
... |
Other parameters |
print the gfpop object
n <- 1000 #data length
data <- dataGenerator(n, c(0.3, 0.4, 0.7, 0.95, 1), c(1, 3, 1, -1, 4), "mean", sigma = 3)
myGraph <- graph(type = "relevant", gap = 0.5, penalty = 2 * sdDiff(data) ^ 2 * log(n))
g <- gfpop(data, myGraph, type = "mean")
print(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.