predefinedMeasurementMethod.Rd
Creates a measurement method for Veg-X documents from a set of predefined options
predefinedMeasurementMethod(name)
A string with the desired measurement method or a subject (in this case, the default method is returned).
The list of available predefined methods and subjects is found in quantitative_methods
.
an object of class VegXMethodDefinition
Other define measurement functions:
defineOrdinalScaleMethod()
,
defineQualitativeScaleMethod()
,
defineQuantitativeScaleMethod()
# Create a method for plant percent cover
predefinedMeasurementMethod("Plant cover/%")
#> An object of class "VegXMethodDefinition"
#> Slot "name":
#> [1] "Plant cover/%"
#>
#> Slot "description":
#> [1] "Plant cover as percentage of ground covered by the projection."
#>
#> 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
#>
#>
#>