Learn R Programming

specmine (version 3.1.6)

cubic_root_transform: Cubic root transformation

Description

Performs cubic root transformation on the data matrix.

Usage

cubic_root_transform(datamat)

Arguments

datamat

data matrix.

Value

Returns the data matrix with the cubic root transformation applied.

Examples

Run this code
# NOT RUN {
  ## Example of cubic root transformation
  library(specmine.datasets)
  data(cachexia)
  datamat.cubic = cubic_root_transform(cachexia$data)
# }

Run the code above in your browser using DataLab