centerMc | R Documentation |
Returns the (parameterized) center, M_c
,
of the interval, int
=(a,b)
,
parameterized by c \in (0,1)
so that 100c
% of the length of interval is to the left of M_c
and 100(1-c)
% of the length of the interval
is to the right of M_c
.
That is, for the interval, int
=(a,b)
,
the parameterized center is M_c=a+c(b-a)
.
See also (\insertCiteceyhan:metrika-2012,ceyhan:revstat-2016;textualpcds).
centerMc(int, c = 0.5)
int |
A |
c |
A positive real number in |
(parameterized) center inside int
Elvan Ceyhan
centersMc
c<-.4
a<-0; b<-10
int = c(a,b)
centerMc(int,c)
c<-.3
a<-2; b<-4; int<-c(a,b)
centerMc(int,c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.