Topics

  • Home
  • Main CTFS Website
  • About CTFS
  • Home
  • Data Format
  • Topics
    • abundance:
      abundance.r
    • biomass:
      biomass.CTFSdb.r
    • demogchange:
      abund.fit.CTFS.r
    • demogchange:
      demogChange.r
    • growth:
      growth.r
    • growth:
      growthfit.bin.r
    • growth:
      growthfit.graph.r
    • map:
      map.r
    • map:
      mapresponse.r
    • mortality:
      mortality.r
    • recruitment:
      recruitment.r
    • spatial:
      NeighborDensityFun.r
    • spatial:
      RipUvK.r
    • spatial:
      block.analysis.r
    • spatial:
      quadfunc.r
    • spatial:
      slope.r
    • speciesarea:
      spparea.r
    • startCTFS:
      startCTFS.r
    • topography:
      imageJ.r
    • topography:
      slope.r
    • topography:
      solvetopo.r
    • utilities:
      calcalpha.r
    • utilities:
      distributions.r
    • utilities:
      geometry.r
    • utilities:
      lmerBayes.r
    • utilities:
      statistics.r
    • utilities:
      utilities.r
    • utilities:
      utilitiesCTFS.r
  • Tutorials
  • Function Index

      Functions

    • CTFSplot
    • load.species
    • rndown5
    • countspp
    • assemble.demography
    • clean.demography
    • unidentified.species
    • exclude.unidentified

Topic: Utilities

Topic Description:

Basic R utilities used in many packages and functions, such as date and string manipulations, statistical distributions, geometry of lines and distances. The R package date is required for the two data functions.



File: utilities/utilitiesCTFS.r

View File Source Download File No help file available

Function: rndown5

Function Description: rndown5

Rounds a numeric value to the next lowest multiple of 5.

Function Arguments:

ArgumentDefault Value

Function Source:

rndown5=function(s)
return(5*floor(s/5))

 

©   Design by Anudeep Singh.