Description Usage Arguments Value
This function calculates the pairwise number of non-missing values in a matrix.
1 |
matA |
Input data matrix with numeric entries. |
impute |
Binary value; if true, indicates that imputation was performed previously, and so checking for NAs is not necessary. |
matB |
Optional input data matrix with which the comparison with matA will be made. |
secondMat |
Logical indicator of whether there is a second matrix in the comparison or not. |
A number of samples (nsamp) matrix. data(darmanis); darmanis_subset = as.matrix(darmanis[1:30, ]) nsamp_res = matNSamp(darmanis_subset) darmanis_subset[1, 1] = NA nsamp_res_na = matNSamp(darmanis_subset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.