get_k: Return number of studies in a meta-analysis

Description Usage Arguments Value

View source: R/get_k.R

Description

Return number of studies in a meta-analysis

Usage

1
get_k(metadatdat, k_var = NULL)

Arguments

metadatdat

A dataset from metadat.

k_var

Specify which column which has studies. If unspecified, the column identifying k is found by counting unique variables in the first column matching study, study_id, studyid, reference, id, source, author, authors.

Value

Number of studies, k. Or "no study id" if we couldn't find one.


softloud/metadatanalysis documentation built on Aug. 14, 2020, 9:25 p.m.