File tree 1 file changed +15
-14
lines changed
1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,24 @@ _A Bland–Altman plot ... is a method of data plotting used in analyzing the ag
11
11
## Usage
12
12
13
13
- Place ` bland_altman.py ` in your working directory.
14
- - In your Python script or Jupyter notebook, run
14
+ - To load the function into your Python script or Jupyter notebook, run
15
15
``` python
16
16
from .bland_altman import bland_altman_plot
17
17
```
18
- - Example
19
- ``` python
20
- from .bland_altman import bland_altman_plot
21
- import numpy as np
22
18
23
- # Seed the random number generator.
24
- # This ensures that the results below are reproducible.
25
- np.random.seed(9999 )
26
- m1 = np.random.random(20 )
27
- m2 = np.random.random(20 )
19
+ ## Example
20
+ ``` python
21
+ from .bland_altman import bland_altman_plot
22
+ import numpy as np
28
23
29
- my_bland_altman_plot = bland_altman_plot(m1, m2)
30
- ```
24
+ # Seed the random number generator.
25
+ # This ensures that the results below are reproducible.
26
+ np.random.seed(9999 )
27
+ m1 = np.random.random(20 )
28
+ m2 = np.random.random(20 )
29
+
30
+ my_bland_altman_plot = bland_altman_plot(m1, m2)
31
+ ```
31
32
32
- This should produce the following image.
33
- ![ A Bland-Altman plot] ( https://github.com/josesho/bland_altman/raw/master/bland-altman-plot.png )
33
+ This should produce the following image.
34
+ ![ A Bland-Altman plot] ( https://github.com/josesho/bland_altman/raw/master/bland-altman-plot.png )
You can’t perform that action at this time.
0 commit comments