I would guess that you need to add to the man page of the function in the value section something like: A named list with the following components: \itemize{ \item \code{"p_pvalue"}: description of p_pvalue \item \code{"p_tstat"}: description of p_tstat } HTH, E. -- $ pom