Run tests (kappa, rho) on the given Code

old_test(
  code,
  kappaThreshold = 0.65,
  baserateInflation = 0.2,
  type = c("training", "test")
)

Arguments

code

Code object to test

kappaThreshold

Threshold used for calculating rhoR::rho

baserateInflation

inflation rate to use when sampling handsets

type

vector indicating which stats should be calculated

Value

Code object with updated statistics property