Learn R Programming

updog (version 1.2.0)

format_multidog: Return matricized elements from the output of multidog.

Description

This function will allow you to have genotype estimates, maximum posterior probability, and other values in the form of a matrix.

Usage

format_multidog(x, varname = "geno")

Arguments

x

The output of multidog.

varname

The variable whose values populate the cells. This should be a single columne from x$inddf.