unity_vector_to_numeric: Converts output of unity logging a vector 3 to a vector of...

Description Usage Arguments Value

View source: R/brainvr-preprocessing.R

Description

Unity logs vector as (x, y, z). This function simply splits it into three parts and returns a numeric(2 or 3)

Usage

1

Arguments

text

Vector of"(x, y, z)" characters. If single value is passed, the result is returned as a vector. If multiple are passed, it is returned as a matrix with each row being single converted value

Value

matrix of vector of numbers


BrainVR/brainvr-reader documentation built on Nov. 2, 2021, 11:09 a.m.