Skip to content
Prev 47063 / 63424 Next

missing documentation entries ... WARNING

Dear Duncan and R-devel,

This advice has cleared my "checking Rd \usage sections" warning?but I am not sure I did a good job taking your advice as I cleared this by modifying the alias statements, but not invoking  \S3method or \S4method.

Thus, I am still a bit stumped on my "checking for missing documentation entries ? WARNING"

It still reads:

***
Undocumented S4 classes:
  ?commcorrelogram?
Undocumented S4 methods:
  generic 'mod' and siglist 'commcorrelogram'
  generic 'plot' and siglist 'commcorrelogram,missing'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See the chapter ?Writing R documentation files? in the ?Writing R
***

My updated \alias and \usage sections are included below.

Based on some archived discussion board material I have read, I am considering adding a section that might read something like this for methods mod and plot, but my logic seems off as the error does not seem to respond to this addition:

\section{Methods}{ 
  \describe{ 
    \item{mod}{\code{signature(object = "commcorrelogram")}: Provides a shortcut method for \code{mod.commcorrelogram}.} 
    } 
}

Does that make sense?

What would you suggest?

I will also work on correcting my approach to invoking \S3 and \S4method.

Thanks!
~luis


****comcorrelogram.Rd \alias and \usage sections****

\name{commcorrelogram}
\docType{class}
\alias{commcorrelogram}

\title{
  Community Correlogram
}
\description{
Function \code{commcorrelogram} computes community correlograms using either the multivariate Mantel statistic (Mantel, 1957) or the ANOSIM R metric (Clarke, 1993), and includes functionality for both directional analyses and combinations of temporal and spatial analyses.  Mantel correlogram proposed by Sokal (1986) and Oden and Sokal (1986). ANOSIM correlogram suggested here.
}
\usage{
commcorrelogram(sampleData,sampleTime=NULL,sampleLocation=NULL,LocationNames=NULL,option=1,metric='anosim',lagNumber,lagSize,lagTol,numTests=999,anisotropic=FALSE,azimuth,azimuthTol,bandwidth,dipAngle,dipTol,dipBandwidth,distmeth='bray',mantmeth='spearman',adj='holm',prog=TRUE,alternative='one.sided')
}

****comcorrelogram.Rd \alias and \usage sections****

****mod.comcorrelogram.Rd \alias and \usage sections****

\name{mod.commcorrelogram}
\alias{mod.commcorrelogram}
\alias{mod}
\title{
Community Correlogram Model
}
\description{
Function mod.commcorrelogram automatically fits a Gaussian curve to the significance plot of a commcorrelogram object and calculates the correlation range of the data.
}
\usage{
mod.commcorrelogram(object,Ch=1,Cc=5,Cw=0.01,plot=T,alpha=0.05,alternative='one.tailed',pw=5,lgpos='topleft',...)
}

****mod.comcorrelogram.Rd \alias and \usage sections****
On Oct 14, 2013, at 4:21 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: