Learn R Programming

EBS (version 3.1)

GetCondition: Segmentation information for one profile out of the set

Description

Retrieves the segmentation information of one particular profile out of the set given

Usage

GetCondition(x, Condition = numeric())

Arguments

x
An object of class EBSProfiles
Condition
the index of the profile of interest

Value

Details

This function is used to retrieve the segmentation information of a profile when a set of conditions have been analysed together.

References

Rigaill, Lebarbier & Robin (2012): Exact posterior distributions over the segmentation space and model selection for multiple change-point detection problems Statistics and Computing

Cleynen & Robin (2014): Comparing change-point location in independent series Statistics and Computing

Johnson, Kotz & Kemp: Univariate Discrete Distributions

Hall, Kay & Titterington: Asymptotically optimal difference-based estimation of variance in non-parametric regression

See Also

EBS-class,EBSProfiles-class,EBSProfiles,EBSegmentation

Examples

Run this code
# changes for Poisson model
set.seed(1)
x1<-c(rpois(125,1),rpois(100,5),rpois(50,1),rpois(75,5),rpois(50,1))
x2<-c(rpois(100,1),rpois(100,3),rpois(75,2),rpois(50,0.5),rpois(75,3))
M<-rbind(x1,x2)
E<-EBSProfiles(M)
C1 <- GetCondition(E,1)

Run the code above in your browser using DataLab