calc.testinfo.1d: Testinfo 1D

View source: R/calc_testinfo_1d.R

calc.testinfo.1dR Documentation

Testinfo 1D

Description

calculate testinfo for one trait varied, levels for other traits are randomly sampled from multivariate normal distribution with covariance sigma, averaged across sample of size n

Usage

calc.testinfo.1d(tr.levels, sigma, n = 20, seed = NULL, which.blocks, ...)

Arguments

tr.levels

vector of trait levels to vary on x-axis

sigma

matrix of trait correlations

n

numeric, random samples to draw for other traits

seed

numeric, optional, random seed

which.blocks

vector, blocks for which to calculate testinfo

...

FUN for block info and other arguments passed to FUN

Value

list of 1) matrix of standard errors ("ses") and 2) vector of varied levels ("tr.levels")


susanne-frick/MFCblockInfo documentation built on Oct. 20, 2024, 8:26 p.m.