Skip to content

Commit

Permalink
Export LRT and sampleSize
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkellner committed Sep 16, 2024
1 parent 00f39b7 commit 6572a2f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ exportClasses(unmarkedFit, unmarkedFrame)

# Methods
exportMethods(backTransform, coef, confint, fitted, getData,
getP, getFP, getB, getY, head, linearComb,
getP, getFP, getB, getY, head, linearComb, LRT,
modSel, numSites, numY, obsCovs, obsNum, "obsCovs<-",
obsToY, "obsToY<-", parboot, plot, hist, predict, profile,
residuals, SE, simulate, siteCovs,
residuals, sampleSize, SE, simulate, siteCovs,
"siteCovs<-", summary, update, vcov, yearlySiteCovs,
"yearlySiteCovs<-", "[", smoothed, projected, nonparboot, logLik,
ranef, bup, crossVal, posteriorSamples, sigma, randomTerms,
Expand Down
9 changes: 9 additions & 0 deletions man/unmarkedFit-class.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
\alias{profile,unmarkedFit-method}
\alias{update,unmarkedFit-method}
\alias{plot,profile,missing-method}
\alias{sampleSize}
\alias{sampleSize,unmarkedFit-method}
\alias{summary,unmarkedFit-method}
\alias{smoothed}
\alias{smoothed,unmarkedFitColExt-method}
\alias{projected}
\alias{projected,unmarkedFitColExt-method}
\alias{logLik}
\alias{logLik,unmarkedFit-method}
\alias{LRT}
\alias{LRT,unmarkedFit,unmarkedFit-method}
\alias{getY,unmarkedFit-method}

\title{Class "unmarkedFit" }
Expand Down Expand Up @@ -50,6 +54,8 @@ extracted using the methods described below.
expected vs. observed values }
\item{profile}{\code{signature(fitted = "unmarkedFit")}: used by confint
method='profile' }
\item{sampleSize}{\code{signature(object = "unmarkedFit")}: returns number
of sites in sample }
\item{SE}{\code{signature(obj = "unmarkedFit")}: returns standard errors }
\item{summary}{\code{signature(object = "unmarkedFit")}: results with more
details }
Expand All @@ -67,6 +73,9 @@ extracted using the methods described below.
whether or not to return the average over sites.}
\item{logLik}{\code{signature(object="unmarkedFit")}:
Returns the log-likelihood.}
\item{LRT}{\code{signature(m1="unmarkedFit", m2="unmarkedFit")}:
Returns the chi-squared statistic, degrees-of-freedom, and p-value from
a Likelihood Ratio Test.}
}
}
\note{ This is a superclass with child classes for each fit type }
Expand Down

0 comments on commit 6572a2f

Please sign in to comment.