Learn R Programming

takos (version 0.2.0)

matzero: Title matzero

Description

zeroes time (in seconds) according to peak given by the user

Usage

matzero(mat, spks = 1, x = mat$time.seconds.zero, colname = "v.check",
  myby = "id_cycle")

Arguments

mat

matrix of spectra

spks

number of the peak selected as the starting point

x

variable to be reset according to the position of the selected peak

colname

name of the selected column

myby

varialbe selected for subsetting the matrix