compute_sample_size_neff: Compute Neff/N

View source: R/compute_sample_size_neff.R

compute_sample_size_neffR Documentation

Compute Neff/N

Description

Compute Neff/N

Usage

compute_sample_size_neff(
  sumstats_dt,
  method,
  force_new = FALSE,
  append_method_name = FALSE
)

Arguments

sumstats_dt

Summary statistics data.table.

method

Method for computing (effective) sample size.

force_new

If "Neff" (or "N") already exists in sumstats_dt, replace it with the recomputed version.

append_method_name

should Neff column have an indicator to explain the method that makes it., Default is FALSE unless multiple methods are passed

Value

No return


neurogenomics/MungeSumstats documentation built on Aug. 10, 2024, 5:59 a.m.