pcitMemoryRequirement {PCIT}R Documentation

Calculate the memory requirement for running PCIT

Description

This function attempts to determine the amount of computer memory that would be required to run PCIT of a given correlation matrix.

Usage

  pcitMemoryRequirement(m, units=c("MB", "bytes", "KB", "GB", "TB"), nCopies=3)

Arguments

m - A correlation matrix on which PCIT may be run, OR the number of rows/columns from such a matirx
units - The units of RAM memory to be use for the returned value
nCopies - The maximum number of copies of the correlation matrix which PCIT holds at any one time

Author(s)

Nathan S. Watson-Haigh

See Also

maxMatrixSize

Examples

        m <- matrix(1, 20, 20)
        diag(m) <- 0
        m
        pcitMemoryRequirement(m, "KB")
        pcitMemoryRequirement(10000, "GB")

[Package PCIT version 1.02-1 Index]