pcitMemoryRequirements: Calculate the memory requirement for running PCIT

Description Usage Arguments Author(s) See Also Examples

Description

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

Usage

1
2
	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

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


Search within the PCIT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.