defineQualitativeScaleMethod: Qualitative scale method definition

View source: R/defineQualitativeScaleMethod.R

defineQualitativeScaleMethodR Documentation

Qualitative scale method definition

Description

A general function to define a method for measurements of a given subject in a qualitative (i.e. categorical) scale.

Usage

defineQualitativeScaleMethod(
  name,
  description,
  subject,
  codes,
  citationString = "",
  DOI = "",
  definitions = NULL
)

Arguments

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 citationString.

definitions

A character vector of class definitions.

Value

an object of class VegXMethodDefinition

See Also

Other define measurement functions: defineOrdinalScaleMethod(), defineQuantitativeScaleMethod(), predefinedMeasurementMethod()

Examples


#Qualitative scale with three levels
defineQualitativeScaleMethod("scale1", "Description for scale1", "subject1",
                             codes = c("A", "B", "C"))





miquelcaceres/VegX documentation built on Sept. 18, 2022, 7:04 p.m.