diff --git a/R/creg_create_input.R b/R/creg_create_input.R index 66f8fcb..2a6c732 100644 --- a/R/creg_create_input.R +++ b/R/creg_create_input.R @@ -7,6 +7,7 @@ #' @importFrom stats as.formula #' @importFrom stats terms.formula #' @keywords internal +#' @noRd creg_create_input <- function(forml, lv, group, data, family, silent, se){ # Convert formula and extract terms forml <- as.formula(forml) diff --git a/R/creg_loglikelihood.R b/R/creg_loglikelihood.R index 9d7e524..2b49d54 100644 --- a/R/creg_loglikelihood.R +++ b/R/creg_loglikelihood.R @@ -7,6 +7,7 @@ #' #' @importFrom stats dpois #' @keywords internal +#' @noRd creg_loglikelihood_function <- function(datalist, modellist) { kappas <- modellist$groupw n_cell <- modellist$n_cell @@ -54,6 +55,7 @@ creg_loglikelihood_function <- function(datalist, modellist) { #' @importFrom stats nlminb #' @importFrom pracma hessian #' @keywords internal +#' @noRd creg_fit_model <- function(object) { silent <- object@input@silent se <- object@input@se diff --git a/cran-comments.md b/cran-comments.md index 2e1ecfa..3a5486c 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -10,9 +10,8 @@ Maintainer: 'Christoph Kiefer ' - Re-submission: I addressed your two requests: - 1. removed the space in the doi - 2. added an executable example to my main function + Re-submission: I addressed your requests: + 1. the functions you mentioned are internal functions. I removed the Rd-files for clarification The remaining note concerns that I submit the package to CRAN for the first time. diff --git a/man/creg_create_input.Rd b/man/creg_create_input.Rd deleted file mode 100644 index 5288fef..0000000 --- a/man/creg_create_input.Rd +++ /dev/null @@ -1,27 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/creg_create_input.R -\name{creg_create_input} -\alias{creg_create_input} -\title{Create input} -\usage{ -creg_create_input(forml, lv, group, data, family, silent, se) -} -\arguments{ -\item{forml}{an object of class for \code{\link[stats]{formula}} (or one that can be coerced to that class): a symbolic description of the model to be fitted. The details of model specification are given under Details.} - -\item{lv}{Definition of the latent variables.} - -\item{group}{A group variable} - -\item{data}{a data frame} - -\item{family}{Poisson or negative binomial} - -\item{silent}{Should informations about the estimation process be suppressed?} - -\item{se}{Should standard errors be computed? (Can take a while for complex models)} -} -\description{ -Turns the input into an input object -} -\keyword{internal} diff --git a/man/creg_fit_model.Rd b/man/creg_fit_model.Rd deleted file mode 100644 index 047884e..0000000 --- a/man/creg_fit_model.Rd +++ /dev/null @@ -1,15 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/creg_loglikelihood.R -\name{creg_fit_model} -\alias{creg_fit_model} -\title{Fit the lavacreg model} -\usage{ -creg_fit_model(object) -} -\description{ -A wrapper for starting values, optimizing loglik and computation of standard errors -} -\details{ -@param object A lavacreg object -} -\keyword{internal} diff --git a/man/creg_loglikelihood_function.Rd b/man/creg_loglikelihood_function.Rd deleted file mode 100644 index b3d45d3..0000000 --- a/man/creg_loglikelihood_function.Rd +++ /dev/null @@ -1,17 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/creg_loglikelihood.R -\name{creg_loglikelihood_function} -\alias{creg_loglikelihood_function} -\title{lavacreg log-likelihood function} -\usage{ -creg_loglikelihood_function(datalist, modellist) -} -\arguments{ -\item{datalist}{Datalist} - -\item{modellist}{Modellist} -} -\description{ -Computes the likelihood function using the C++ function for group-conditional likelihoods -} -\keyword{internal}