version 1.1, 2014/03/24 05:28:17 |
version 1.2, 2014/04/03 08:27:50 |
|
|
% $OpenXM$ |
% $OpenXM: OpenXM/src/R/r-packages/hgm/man/hgm.ncorthant.Rd,v 1.1 2014/03/24 05:28:17 takayama Exp $ |
\name{hgm.ncorthant} |
\name{hgm.ncorthant} |
\alias{hgm.ncorthant} |
\alias{hgm.ncorthant} |
%- Also NEED an '\alias' for EACH other topic documented here. |
%- Also NEED an '\alias' for EACH other topic documented here. |
|
|
## ===================================================== |
## ===================================================== |
## Example 1. Computing the orthant probability |
## Example 1. Computing the orthant probability |
## ===================================================== |
## ===================================================== |
x<-matrix(c(1, 0.5, 0.5, 1),nrow=2) |
x <- matrix(c(15,26,23,19, |
y<-c(1.0, 0.5) |
26,47,46,35, |
|
23,46,65,38, |
|
19,35,38,33), nrow =4) |
|
y <- c(1,2,3,4) |
hgm.ncorthant(x,y) |
hgm.ncorthant(x,y) |
|
|
} |
} |
% Add one or more standard keywords, see file 'KEYWORDS' in the |
% Add one or more standard keywords, see file 'KEYWORDS' in the |
% R documentation directory. |
% R documentation directory. |