nfam: Count the number of families in the data

View source: R/nfam.R

nfamR Documentation

Count the number of families in the data

Description

This is a help function to count the number of families in an object read in with genDataRead (or loaded with genDataLoad). Note: it is assumed that the study design is either 'triad' or 'cc.triad'.

Usage

nfam(data.in)

Arguments

data.in

The data read in by genDataRead.

Value

How many families (integer).


Haplin documentation built on Sept. 11, 2024, 7:13 p.m.