Learn R Programming

gfpop (version 1.1.1)

print.gfpop: print.gfpop

Description

Printing the resulting change-point model found by gfpop function

Usage

# S3 method for gfpop
print(x, ...)

Value

print the gfpop object

Arguments

x

a gfpop class object

...

Other parameters

Examples

Run this code
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)

Run the code above in your browser using DataLab