defineQuantitativeScaleMethod.Rd
A general function to define a method for measurements in a quantitative scale of a given subject
defineQuantitativeScaleMethod(
name,
description,
subject,
unit,
citationString = "",
DOI = "",
lowerLimit = -Inf,
upperLimit = Inf
)
String with the name of the method.
String describing the method.
A string to identify the subject.
A character describing measurement units.
A string with the bibliographic reference for the method.
A string with the DOI the resource related to citationString
The lower limit of the quantitative scale, if defined.
The upper limit of the quantitative scale, if defined.
an object of class VegXMethodDefinition
Other define measurement functions:
defineOrdinalScaleMethod()
,
defineQualitativeScaleMethod()
,
predefinedMeasurementMethod()
defineQuantitativeScaleMethod(name = "Percent cover",
description = "Quantitative plant percent cover",
unit = "%",
subject = "plant cover",
lowerLimit = 0, upperLimit = 100)
#> An object of class "VegXMethodDefinition"
#> Slot "name":
#> [1] "Percent cover"
#>
#> Slot "description":
#> [1] "Quantitative plant percent cover"
#>
#> Slot "citationString":
#> [1] ""
#>
#> Slot "DOI":
#> [1] ""
#>
#> Slot "subject":
#> [1] "plant cover"
#>
#> Slot "attributeType":
#> [1] "quantitative"
#>
#> Slot "attributes":
#> $`1`
#> $`1`$type
#> [1] "quantitative"
#>
#> $`1`$unit
#> [1] "%"
#>
#> $`1`$lowerLimit
#> [1] 0
#>
#> $`1`$upperLimit
#> [1] 100
#>
#>
#>