gfct                package:MixThres                R Documentation

_D_e_n_s_i_t_y _f_u_n_c_t_i_o_n _f_o_r _a _t_r_u_n_c_a_t_e_d _g_a_u_s_s_i_a_n _d_i_s_t_r_i_b_u_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Density function for a truncated gaussian distribution with mean
     equal to _moy_ and standard deviation equal to _sdev_ and
     truncature parameters equal to _l_ and _u_.

_U_s_a_g_e:

     gfct(x, moy, sdev, l, u)

_A_r_g_u_m_e_n_t_s:

x       : vector of quantiles. 

moy     : vector of means. 

sdev    : vector of standard deviations. 

l       : the left (lower) truncature parameter. 

u       : the right (upper) truncature parameter. 

_D_e_t_a_i_l_s:

     The gfct function is defined as : '  gfct <-
     function(x,moy,sdev,l,u)
     (dnorm(x,mean=moy,sd=sdev)*(x<=u)*(x>=l))/(pnorm(u,mean=moy,sd=sdev)-pnorm(l,mean=moy,sd=sdev))
     '

_V_a_l_u_e:

     The density.

_A_u_t_h_o_r(_s):

     J. Aubert

_S_e_e _A_l_s_o:

     'loggfct'

