R/RBF_corr.R

#' Calculate a Replication Bayes Factors for Correlations.
#'
#' @param r.orig Correlation coefficient of the original study.
#' @param n.orig Number of observations in the original study.
#' @param r.rep Correlation coefficient in the replication study.
#' @param n.rep Number of observaions in the replication study.
#' @param M Number of MCMC draws to approximate the original study's posterior.
#'
#' @return (none), because the method is not yet implemented.
RBF_corr <- function(r.orig, n.orig, r.rep, n.rep, M = 1e6) {

  stop("Method not implemented yet.")

}
neurotroph/ReplicationBF documentation built on May 28, 2019, 3:39 p.m.