0.1.0 • Published 1 year ago

krippendorff v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

krippendorff

An implementation of Krippendorff's alpha, based on the Wikipedia article.

Ratings can be numbers or strings; missing values are represented by undefined.

Installation

npm install krippendorff

Usage

import { alpha } from "krippendorff";

const ratingMatrix = [
  [1, 2, 1], // ratings by first rater
  [1, 1, 1], // ratings by second rater
  [1, 2], // ratings by third rater; note missing rating for third sample
];

console.log(alpha(ratingMatrix)); // 0.41666666666666663

License

This project is licensed under the terms of the MIT open source license. Please refer to LICENSE for the full terms.

Maintainers

Support

This is a side project of mine and is not officially supported. However, if you have questions or feedback, feel free to file an issue and I will do my best to respond.

0.1.0

1 year ago