diff --git a/README.md b/README.md index f3e6241..1fd6680 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ let simpleResult = dbscan({ //} let objectResult = dbscan({ - dataset: [{ foo: 21 }, { foo: 22 }, { foo: 27 }, { foo: 28 }] + dataset: [{ foo: 21 }, { foo: 22 }, { foo: 27 }, { foo: 28 }], epsilon: 1.1, distanceFunction: (a,b) => Math.abs(a.foo - b.foo) });