Skip to content

Commit

Permalink
[FIX] README. coefficient order.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Mar 27, 2015
1 parent 2be784e commit 2875e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ The computed linear `model` has the following properties and methods...

##### model.params

Model parameters and corresponding linear regression coefficients. The model has two parameters: __slope__ and __intercept__.
Model parameters and corresponding linear regression coefficients. The model has two parameters: __intercept__ and __slope__.

``` javascript
var params = model.params;
// returns [5,100] => [slope, y-intercept]
// returns [5,100] => [y-intercept, slope]
```


Expand Down

0 comments on commit 2875e37

Please sign in to comment.