R/f2chi.R

Defines functions f2chi

Documented in f2chi

#' Converts F-values into Chi Square values
#'
#' \code{f2chi} convert F to Chi-square values.
#'
#' @param f a vector of F values.
#' @param df_num single value for the numerator degrees of freedom of the F test.
#'
#' @return The Chi square values.
#'
#' @author Martijn Heymans, 2021
#'
#' @examples
#'   f2chi(c(5.83, 4.95, 3.24, 6.27, 4.81), 5)
#'
#' @export
f2chi <- function(f, df_num){
  df_num*f
}

Try the miceafter package in your browser

Any scripts or data that you put into this service are public.

miceafter documentation built on Oct. 2, 2022, 5:08 p.m.