Learn R Programming

Haplin (version 7.3.2)

nfam: 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)

Value

How many families (integer).

Arguments

data.in

The data read in by genDataRead.