Returns the slot Mean of an object of class Segmentor
Value
If model is Variance, the value of the mean used for the analysis.
Author(s)
Alice Cleynen
References
PDPA: Rigaill, G. Pruned dynamic programming for optimal multiple change-point detection: Submittedhttp://arxiv.org/abs/1004.0887
PDPA: Cleynen, A. and Koskas, M. and Lebarbier, E. and Rigaill, G. and Robin, S. Segmentor3IsBack: an R package for the fast and exact
segmentation of Seq-data: Submittedhttp://arxiv.org/abs/1204.5564
variance parameter: Hall, P. and Kay, J. and Titterington, D. (1990): Asymptotically optimal difference-based estimation of variance in non-parametric regression Biometrika
See Also
getOverdispersion
Examples
x=new("Segmentor",model="Variance",mean=2.2) # new Segmentor object
getMean(x) # retrieves the Mean slot from x
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Segmentor3IsBack)
Segmentor3IsBack v1.8 Loaded
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Segmentor3IsBack/getMean.Rd_%03d_medium.png", width=480, height=480)
> ### Name: getMean
> ### Title: Generic function
> ### Aliases: getMean
> ### Keywords: methods Mean
>
> ### ** Examples
>
> x=new("Segmentor",model="Variance",mean=2.2) # new Segmentor object
> getMean(x) # retrieves the Mean slot from x
[1] 2.2
>
>
>
>
>
> dev.off()
null device
1
>