View source: R/defineQualitativeScaleMethod.R
defineQualitativeScaleMethod | R Documentation |
A general function to define a method for measurements of a given subject in a qualitative (i.e. categorical) scale.
defineQualitativeScaleMethod( name, description, subject, codes, citationString = "", DOI = "", definitions = NULL )
name |
String with the name of the method. |
description |
String describing the method. |
subject |
A string to identify the subject. |
codes |
A character vector of class codes. |
citationString |
A string with the bibliographic reference for the method. |
DOI |
A string with the DOI the resource related to |
definitions |
A character vector of class definitions. |
an object of class VegXMethodDefinition
Other define measurement functions:
defineOrdinalScaleMethod()
,
defineQuantitativeScaleMethod()
,
predefinedMeasurementMethod()
#Qualitative scale with three levels defineQualitativeScaleMethod("scale1", "Description for scale1", "subject1", codes = c("A", "B", "C"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.