check_n_samples: Check if the number of samples is valid. Check if the number...

View source: R/check_n_samples.R

check_n_samplesR Documentation

Check if the number of samples is valid. Check if the number of samples is valid. Will stop if not

Description

Check if the number of samples is valid. Check if the number of samples is valid. Will stop if not

Usage

check_n_samples(n_samples)

Arguments

n_samples

the number of samples/individuals, as can be checked by check_n_samples

Value

Nothing. Will stop if the number of samples is invalid

Author(s)

Richèl J.C. Bilderbeek

Examples

check_n_samples(0)
check_n_samples(1)
check_n_samples(2)

richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.