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

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

`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 |

Nathan S. Watson-Haigh

`maxMatrixSize`

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

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

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