# Checks the validity of the target correlation matrix

### Description

The function checks the validity of the values of pairwise correlations. In addition, it checks positive definiteness, symmetry and correct dimensions.

### Usage

1 2 | ```
validate.target.cormat.BinOrdNN(plist, skew.vec, kurto.vec, no.bin, no.ord,
no.NN, CorrMat)
``` |

### Arguments

`plist` |
A list of probability vectors corresponding to each binary/ordinal variable. The i-th element of |

`skew.vec` |
The skewness vector for continuous variables. |

`kurto.vec` |
The kurtosis vector for continuous variables. |

`no.bin` |
Number of binary variables. |

`no.ord` |
Number of ordinal variables. |

`no.NN` |
Number of continuous variables. |

`CorrMat` |
The target correlation matrix which must be positive definite and within the valid limits. |

### Value

In addition to being positive definite and symmetric, the values of pairwise correlations in the target correlation matrix must also fall within the limits imposed by the marginal distributions of the variables. The function ensures that the supplied correlation matrix is valid for simulation. If a violation occurs, an error message is displayed that identifies the violation. The function returns a logical value `TRUE`

when no such violation occurs.

### See Also

`valid.limits.BinOrdNN`

### Examples

1 2 3 4 5 6 7 8 9 |