sintillate: Quantify pleiotropic effects on two variables.

View source: R/sintillate.R

sintillateR Documentation

Quantify pleiotropic effects on two variables.

Description

sintillate calculates vector length, angle τ for vectors x and y.

Usage

sintillate(x, y, calculate_zstar = FALSE, zstar_ref = NULL)

Arguments

x, y

Values along the x- and y-axes. This will usually be single floats or vectors of floats of observed values. Alternatively, supply matrices of floats to calculate tau for a sample of bootstrapped *x* and *y* values, or values drawn from a posterior distribution in a Bayesian analysis. In this case, matrices should have a row for every observation, and a column for every bootstrap/posterior draw.

Details

Calculate basic summary statistics about a pair of vectors. This can also be used to calculate bootstrap values for each parameter by providing matrices rather than vectors of input values.

Value

Data frame including input data, vector norm angle, and τ. If matrices were supplied, this returns a list of these data.


ellisztamas/sintillate documentation built on Feb. 13, 2023, 5:04 a.m.