Loading single experiment the first time
library(brainvr.reader) dir_path <- system.file("extdata/CFNS/", package = "brainvr.reader") obj <- load_experiments(dir_path) obj <- obj[[1]]
IN case we need a new offset, we can do that as well
obj <- translate_positions(obj, c(33.5, 0, 47.75)) obj <- mirror_axes(obj)
Plotting player path
#set constraints obj$data$position$area_boundaries <- list(x = c(-5, 105), y = c(-5, 105))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.