To cite the afmtools package in publications use:

Contreras-Reyes J., Goerg G. M., Palma W. (2011). R package 'afmtools': Estimation, Diagnostic and Forecasting Functions for ARFIMA models (version 0.1.8). URL http://cran.r-project.org/web/packages/afmtools

Corresponding BibTeX entry:

  @Manual{,
    title = {{R} package \texttt{afmtools}: Estimation, Diagnostic and
      Forecasting Functions for ARFIMA models (version 0.1.8)},
    author = {J. Contreras-Reyes and G. M. Goerg and W. Palma},
    address = {Universidad de Chile, Chile},
    year = {2011},
    url = {http://cran.r-project.org/web/packages/afmtools},
  }