svm {GENEAread} | R Documentation |
sum vector magnitude
Description
svm acts identically to 'mean.epoch', with the epoch set to the sampling period. In other words, it computes the instantaneous sum of vector magnitudes of the acceleration at each record point. The function takes "AccData", array and vector input. Note that if provided with an array with 4 or more columns, columns 2 to 4 are used – the first column is regard as a timestamp and hence ignored.
Usage
svm(obj, sqrt)
Arguments
obj |
AccData object |
sqrt |
Function to use to calculate SVM |
Examples
dat <- read.bin(system.file("binfile/TESTfile.bin", package = "GENEAread")[1], calibrate = TRUE)
svm(dat)
[Package GENEAread version 2.0.10 Index]