groupnames-methods: Get group names for a class 'Zvariant' instance.

Description Usage Arguments Details Value Author(s) See Also

Description

Group names can be assigned to a Zvariant or Zresults object. This is a replacement function for variant group names. If the particular variant doesn't use groups the gives a warning.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
groupnames(x)

groupnames(x) <- value

## S4 method for signature 'ZGroupCurvesDataFrame'
groupnames(x)

## S4 method for signature 'Zresults'
groupnames(x)

## S4 method for signature 'Zvariant'
groupnames(x)

## S4 replacement method for signature 'Zvariant,character'
groupnames(x) <- value

Arguments

x

Zvariant object.

value

named character vector.

Details

All current group codes must be found in the keys, i.e. there can't be missing values. Argument value can, however, contain keys that are not in the current group codes.

Value

A character vector containing the group names. If there are no groups, return NA.

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.com

See Also

Zvariant-class groupnames groups

Zvariant-class groupnames Zresults groups


cbig/zonator documentation built on May 23, 2020, 7:02 a.m.