Basic Kaplan-Meier methods, ported to javascript.
We assume you're using an es5 shim for array methods.
A helper library such as underscore/lodash/ramda is required, and should be passed to the init() method.
The build is based on npm and webpack.
- Ensure that git and node are installed
- On OSX, install brew http://brew.sh/
brew install gitbrew install node
git clone https://github.com/acthp/kaplan-meier.gitcd kaplan-meiernpm installnpm run build
Use npm run lint to run the lint rules. We lint with eslint and babel-eslint.
We test against R. R must be installed.
npm test