diff --git a/DESCRIPTION b/DESCRIPTION index 56a1f54..dfef4e4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: FRK Type: Package Title: Fixed Rank Kriging Version: 0.1.7 -Date: 2017-05-25 +Date: 2018-01-07 Authors@R: c( person("Andrew", "Zammit-Mangion", , "andrewzm@gmail.com", c("aut", "cre")), person("Timothy", "Davis", , "davis@tamu.edu", role = "ctb"), diff --git a/R/SREutils.R b/R/SREutils.R index 59db4d8..d61828e 100644 --- a/R/SREutils.R +++ b/R/SREutils.R @@ -359,7 +359,8 @@ setMethod("info_fit", signature(SRE_model = "SRE"), function(SRE_model) {SRE_model@info_fit}) # Retrieve coefficients of SRE model -#' @aliases coef,SRE-method +#' @rdname coef +#' @aliases coef, SRE-method setMethod("coef",signature(object = "SRE"),function(object,...) { coeff <- as.numeric(object@alphahat) varnames <- all.vars(object@f)[-1] diff --git a/man/coef.Rd b/man/coef.Rd index 70bf048..c6f746e 100644 --- a/man/coef.Rd +++ b/man/coef.Rd @@ -1,10 +1,16 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/AllGeneric.R +% Please edit documentation in R/AllGeneric.R, R/SREutils.R +\docType{methods} \name{coef} \alias{coef} +\alias{coef,SRE-method} +\alias{coef,} +\alias{SRE-method} \title{Retrieve estimated regression coefficients} \usage{ coef(object, ...) + +\S4method{coef}{SRE}(object, ...) } \arguments{ \item{object}{object of class \code{SRE}}