as.character.gips: Transform the 'gips' object to a character vector

View source: R/gips_class.R

as.character.gipsR Documentation

Transform the gips object to a character vector

Description

Implementation of the S3 method.

Usage

## S3 method for class 'gips'
as.character(x, ...)

Arguments

x

An object of a gips class.

...

Further arguments (currently ignored).

Value

Returns an object of a character type.

See Also

  • as.character.gips_perm() - The underlying gips_perm of the gips object is passed to as.character.gips_perm().

  • permutations::as.character.cycle() - The underlying permutation of the gips object is passed to permutations::as.character.cycle().

Examples

A <- matrix(rnorm(4 * 4), nrow = 4)
S <- t(A) %*% A
g <- gips(S, 14, perm = "(123)")
as.character(g)

PrzeChoj/gips documentation built on June 12, 2025, 12:23 a.m.