Learn R Programming

MPGE (version 1.0.0)

environment_data: An example of data of the environmental variable (e.g., smoking status). Here, environment_data is a data frame with single column for the environmental variable. The order of the 500 individuals in the row must be the same as provided in the phenotype and genotype data. Here, the environmental variable has two categories which were coded as 1 and 0 (e.g., smokers and non-smokers). Instead of numeric values, these can also be considered to be factors in the absence of a defined order in the categories.

Description

An example of data of the environmental variable (e.g., smoking status). Here, environment_data is a data frame with single column for the environmental variable. The order of the 500 individuals in the row must be the same as provided in the phenotype and genotype data. Here, the environmental variable has two categories which were coded as 1 and 0 (e.g., smokers and non-smokers). Instead of numeric values, these can also be considered to be factors in the absence of a defined order in the categories.

Usage

data(environment_data)

Arguments

Format

A data.frame with single column for the environmental variable. The order of the 500 individuals in the row must be the same as provided in the phenotype and genotype data:

Examples

Run this code
# NOT RUN {
data(environment_data)
geno <- environment_data
# }

Run the code above in your browser using DataLab