File: hetcor.default.R

package info (click to toggle)
r-cran-polycor 0.8-2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 156 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# last modified 2021-12-11 by J. Fox

hetcor.default <- function (data, ..., ML = FALSE, std.err = TRUE, 
	          use=c("complete.obs", "pairwise.complete.obs"), 
	          bins = 4, pd = TRUE, parallel=FALSE, ncores=detectCores(logical=FALSE),
	          thresholds=FALSE) 
{
	use <- match.arg(use)
	dframe <- data.frame(data, ...)
	if (!missing(...)) names(dframe)[1] <- deparse(substitute(data))
	hetcor(dframe, ML = ML, std.err = std.err, use=use, bins = bins, pd = pd, ncores=ncores,
	       thresholds=thresholds)
}