| samples {nexus} | R Documentation | 
Working With Samples
Description
Retrieves or defines the sample names.
Usage
any_replicated(x)
is_replicated(x)
get_samples(x)
set_samples(x) <- value
## S4 method for signature 'CompositionMatrix'
is_replicated(x)
## S4 method for signature 'LogRatio'
is_replicated(x)
## S4 method for signature 'OutlierIndex'
is_replicated(x)
## S4 method for signature 'CompositionMatrix'
any_replicated(x)
## S4 method for signature 'LogRatio'
any_replicated(x)
## S4 method for signature 'OutlierIndex'
any_replicated(x)
## S4 method for signature 'CompositionMatrix'
get_samples(x)
## S4 method for signature 'LogRatio'
get_samples(x)
## S4 method for signature 'OutlierIndex'
get_samples(x)
## S4 replacement method for signature 'CompositionMatrix'
set_samples(x) <- value
Arguments
| x | An object from which to get or set  | 
| value | A possible value for the  | 
Details
In some situations, measurements may have been repeated (e.g. multiple chemical analyses on the same sample). The presence of repeated measurements can be specified by giving several observations the same sample name.
See vignette("nexus").
Value
-  set_samples()returns an object of the same sort asxwith the new sample names assigned.
-  get_samples()returns acharactervector giving the sample names ofx.
-  any_replicated()returns alogicalscalar specifying whether or notxhas replicated observations.
-  is_replicated()returns alogicalvector specifying whether or not an observation is a replicate.
Author(s)
N. Frerebeau
See Also
Other mutators: 
groups,
identifiers,
split(),
subset(),
totals