svm | R Documentation |
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.
svm(obj, sqrt)
obj |
AccData object |
sqrt |
Function to use to calculate SVM |
dat <- read.bin(system.file("binfile/TESTfile.bin", package = "GENEAread")[1], calibrate = TRUE)
svm(dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.