\name{LogN} \alias{LogN} %- Also NEED an '\alias' for EACH other topic documented here. \title{ The function to run EM (one round) using optim. } \description{ %% ~~ A concise (1-5 lines) description of what the function does. ~~ } \usage{ LogN(Input, InputSP, EmpiricalR, EmpiricalRSP, NumOfEachGroup, AlphaIn, BetaIn, PIn, NoneZeroLength) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{Input}{ %% ~~Describe \code{Input} here~~ } \item{InputSP}{ %% ~~Describe \code{InputSP} here~~ } \item{EmpiricalR}{ %% ~~Describe \code{EmpiricalR} here~~ } \item{EmpiricalRSP}{ %% ~~Describe \code{EmpiricalRSP} here~~ } \item{NumOfEachGroup}{ %% ~~Describe \code{NumOfEachGroup} here~~ } \item{AlphaIn}{ %% ~~Describe \code{AlphaIn} here~~ } \item{BetaIn}{ %% ~~Describe \code{BetaIn} here~~ } \item{PIn}{ %% ~~Describe \code{PIn} here~~ } \item{NoneZeroLength}{ %% ~~Describe \code{NoneZeroLength} here~~ } } \details{ %% ~~ If necessary, more details than the description above ~~ } \value{ %% ~Describe the value returned %% If it is a LIST, use %% \item{comp1 }{Description of 'comp1'} %% \item{comp2 }{Description of 'comp2'} %% ... } \references{ %% ~put references to the literature/web site here ~ } \author{ %% ~~who you are~~ } \note{ %% ~~further notes~~ } %% ~Make other sections like Warning with \section{Warning }{....} ~ \seealso{ %% ~~objects to See Also as \code{\link{help}}, ~~~ } \examples{ } % Add one or more standard keywords, see file 'KEYWORDS' in the % R documentation directory. \keyword{ ~kwd1 } \keyword{ ~kwd2 }% __ONLY ONE__ keyword per line