generate_founders: Generate founders function

Description Usage Arguments

View source: R/generate_founders.R

Description

Generates founders given a covariate data matrix or dataframe and returns a matrix of founder chromosomes. Number of founders is determined by choose(C, 2) where C is number of predictors. Maximum number of founding chromosomes is 200. User can specify number of starting chromosomes and this number can be larger than 200. Founding chromosmes are generated randomly and unique values are kept.

Usage

1
generate_founders(X, start_chrom)

Arguments

X

a matrix or dataframe of predictor variables

start_chrom

a numeric value indicating user specified number of founding chromosomes. Default is null.


yzhou63/GA documentation built on Dec. 15, 2017, 1:05 a.m.