GetCondition: Segmentation information for one profile out of the set

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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

Usage

1
GetCondition(x, Condition = numeric())

Arguments

x

An object of class EBSProfiles

Condition

the index of the profile of interest

Details

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

Value

An object of class "EBS".

Author(s)

Alice Cleynen

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

1
2
3
4
5
6
7
# 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)


Search within the EBS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.