Signed case function: Separate f1 into f+ and f-
f1_separation_signed(XMat, f0Mat, f1Mat, p0, plotting = FALSE)A list of 4 objects 'f1plusMat', 'f1minusMat', 'p1plus', 'p1minus'. Object 'f1plusMat' is a matrix containing the evaluation of the marginal density functions under H1plus at each items, each column corresponding to a p-value serie. Object 'f1minusMat' is a matrix containing the evaluation of the marginal density functions under H1minus at each items, each column corresponding to a p-value serie. Object 'p1plus' is an estimate of the proportions of H1plus items for each series. Object 'p1minus' is an estimate of the proportions of H1minus items for each series.
a matrix of probit-transformed p-values, each column corresponding to a p-value serie.
a matrix containing the evaluation of the marginal density functions under H0 at each items, each column corresponding to a p-value serie.
a matrix containing the evaluation of the marginal density functions under H1 at each items, each column corresponding to a p-value serie.
the proportions of H0 items for each series.
boolean, should some diagnostic graphs be plotted. Default is FALSE.