Package kenozooid :: Module analyze

Module analyze

source code

Dive analytics via R statistical package.
Functions
 
analyze(script, args, dives)
Analyze dives with specified R script.
source code
Variables
  log = logging.getLogger('kenozooid.analyze')
  R = ro.r
Function Details

analyze(script, args, dives)

source code 

Analyze dives with specified R script.

The dive data is converted into R data frames and script is executed in the context of the converted data.

Parameters:
  • script - R script to run in the context of dive data.
  • args - R script arguments.
  • dives - Dive data.