Learn R Programming

aspace (version 2.5)

CF: Central Feature (CF) Calculator

Description

Identifies the central feature from a series of point locations.

Usage

CF(id=1, filename="CF_Output.txt", points=activities)

Arguments

id
A unique integer to identify the CF
filename
A string indicating the ASCII textfile where the central feature coordinates will be written
points
A 2-column matrix or data frame containing the set of point observations

Value

  • The result is a list of terms:
  • idIdentifier for the central feature - it should be unique
  • CF.xX-coordinate of the central feature
  • CF.yY-coordinate of the central feature

Details

This function is most powerful when used repetitively within a loop to compute multiple CF from different datasets.

See Also

mean_centre, CMD, median_centre

Examples

Run this code
CF(id=1, filename="CF_Output.txt", points=activities)

Run the code above in your browser using DataLab