kaplan-meier

Basic kaplan-meier methods

Usage no npm install needed!

<script type="module">
  import kaplanMeier from 'https://cdn.skypack.dev/kaplan-meier';
</script>

README

kaplan-meier

Basic Kaplan-Meier methods, ported to javascript.

Dependencies

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.

Build

The build is based on npm and webpack.

  • Ensure that git and node are installed
  • git clone https://github.com/acthp/kaplan-meier.git
  • cd kaplan-meier
  • npm install
  • npm run build

Lint

Use npm run lint to run the lint rules. We lint with eslint and babel-eslint.

Test

We test against R. R must be installed.

  • npm test

References