[BACK]Return to sample_data1.txt CVS log [TXT][DIR] Up to [local] / OpenXM / src / hgm / orthant / src / Testdata

File: [local] / OpenXM / src / hgm / orthant / src / Testdata / sample_data1.txt (download)

Revision 1.1, Sun Mar 23 10:17:40 2014 UTC (10 years, 3 months ago) by tkoyama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b, HEAD

hgm_ko_orthant.c can work without gsl,
and hgm_ko_orthant.so generated by the make command
can be called from R. For example,
> source("ko_orthant.R")
> x <- matrix(c(1,0.5,0.5,1),nrow=2)
> y <- c(1.0,0.5)
> HgmKoNcorthant(x,y)
[1] 0.6301772
We also use it from command line:
  ./hgm_ko_orthant sample_data1.txt

However, hgm_ko_orthant.c may have some new bugs,
and I wil test it more.

2

1.0 0.5
0.5 1.0

1.0 0.5