Learn R Programming

GENEAclassify (version 1.5.3)

GENEAcount: Count Steps

Description

Step count is the number of step lengths divided by 2.

Usage

GENEAcount(x, ...)

Value

single numeric

Arguments

x

vector

...

other arguments to be swallowed

Examples

Run this code
   x1 <- c(20, 15, 10)
   GENEAcount(x1)
   x2 <- c(300, 255, 111)
   GENEAcount(x2)

Run the code above in your browser using DataLab