V2_slr_slope: V2_slr_slope

View source: R/V2_slr_slope.R

V2_slr_slopeR Documentation

V2_slr_slope

Description

This function is used internally to calculate the estimate of the asymptotic variance of the slope of two vectors.

Usage

V2_slr_slope(x, y, na.rm = FALSE)

Arguments

x

The independent variable data vector.

y

The dependent variable data vector.

na.rm

This parameter controls whether NA values are removed from the data prior to calculation. Default is FALSE.

Value

The estimated asymptotic variance of the calculated slope.

Author(s)

Bhargab Chattopadhyay Bhargab@iiitvadodara.ac.in, Ken Kelley kkelley@nd.edu

Examples

x <- c(1:4)
y <- c(2:5)
V2_slr_slope(x, y)


yelleKneK/SMSD documentation built on Nov. 23, 2022, 6:40 p.m.