Learn R Programming

SPAr (version 0.1)

SPA_example: Example data for SPA with continuous and dichotomous traits and an environmental factor.

Description

Example data for SPA with continuous and dichotomous traits and an environmental factor.

Arguments

Format

SPA_example contains the following objects:
x
a numeric genotype matrix of 1000 individuals and 20 SNPs. Each row represents a different individual and each column represents a different SNP marker.
y.c
a numeric vector of continuous phenotypes.
y.d
a numeric vector of dichotomous phenotypes.
E
a numeric vector of an environmental factor.