compute_sample_size_neff {MungeSumstats}R 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


[Package MungeSumstats version 1.2.3 Index]