import os
import numpy as np

from ordination import CA, RDA, CCA


path = os.path.dirname(os.path.abspath(__file__))


def get_path(fn):
    return os.path.join(path, os.pardir, 'ordination', 'test', 'data', fn)

X = np.loadtxt(get_path('L&L_CA_data'))
ordint = CA(X)
ordint.biplot(1)
ordint.biplot(2)

Y = np.loadtxt(get_path('example2_Y'))
X = np.loadtxt(get_path('example2_X')).reshape(-1, 4, order='F')
ordint = RDA(Y, X)
ordint.biplot()

Y = np.loadtxt(get_path('example3_Y'))
X = np.loadtxt(get_path('example3_X')).reshape(-1, 4, order='F')
ordint = CCA(Y, X)
ordint.biplot()

@@ -28,16 +28,33 @@
 p%0A%0Afrom 
+bipy.maths.stats.
 ordinati
@@ -194,20 +194,62 @@
 r, '
-ordination',
+maths', 'stats', 'ordination',%0A                       
  'te

change import paths