standsdmu: Standardization of data

View source: R/standsdmu.R

standsdmuR Documentation

Standardization of data

Description

This function standardizes the data matrix so that each variable will have mean 0 and std 1

Usage

standsdmu(dat)

Arguments

dat

Data matrix with rows are samples, columns are variables.

Value

A data matrix with each variable having mean 0 and std 1.

Examples

library(TestPMD)
data("covid")
mtb <- covid$metabolite
standsdmu(mtb)

YunhuiQi/TestPMD documentation built on May 5, 2022, 8:23 p.m.