Learn R Programming

AquaBPsim (version 0.0.1)

gen_param: Importing genetic parameters from excel file

Description

This function can be used to import data (heritabilities, variances, correlations) from a excel file with a specific format, and it produces a list. If this list is called 'BPdata', then the genetic parameters do not need to be specified anymore in the other functions.

Usage

gen_param(nameexcelfile)

Arguments

nameexcelfile

Name or path to the excel file.

Value

A list with parameters that can be used in the other functions of this package.

Examples

Run this code
# NOT RUN {
BPdata <- gen_param("example.xlsx")
# }

Run the code above in your browser using DataLab