Ninja Pokémon Master

    r-squared

    0.0.0 • Public • Published

    r-squared

    build status AppVeyor Build Status


    r-squared tells us how well a regression line predicts or estimates actual values


    Get it!

    npm install --save r-squared
    

    Usage

    var rSquared = require('rSquared')
     
    var x = [1,2,3,4,5]
    var y = [2,4,5,4,5]
     
    rSquared.rSquared(x, y, function (err, data) {
      if (err) throw err
      console.log(data)
    })
     

    API

    r-squared(x, y, callback)

    x actual values
    y estimated values
    callback error first callback


    License

    MIT

    Install

    npm i r-squared

    DownloadsWeekly Downloads

    120

    Version

    0.0.0

    License

    MIT

    Unpacked Size

    4.28 kB

    Total Files

    8

    Last publish

    Collaborators

    • balou9