Learn R Programming

tipom (version 1.0.2-1)

IA: Indice di Allungamento

Description

This basic function returns a ratio between length and width of an artefact, to be used for defining the elongation.

It is expected that the values are provided in millimeters (mm): if your original data use other units, please convert them to millimeters beforehand.

Usage

IA(length, width)

Arguments

length
width

Value

  • The function returns the Elongation Index (Indice di Allungamento), an absolute ratio between length and width.

Examples

Run this code
## The function is currently defined as
function(length, width) {
ia <- length / width
ia
  }

Run the code above in your browser using DataLab