Learn R Programming

mappoly (version 0.4.1)

is.prob.data: Check if Object is a Probability Dataset in MAPpoly

Description

Determines whether the specified object is a probability dataset by checking for the existence of the 'geno' component within a `"mappoly.data"` object.

Usage

is.prob.data(x)

Value

A logical value: `TRUE` if the 'geno' component exists within `x`, indicating it is a valid probability dataset for genetic analysis; `FALSE` otherwise.

Arguments

x

An object of class `"mappoly.data"`