scale_vector: Scale a vector for Legendre approximation

Description Usage Arguments Value

View source: R/legendre_utils.R

Description

Scale a vector for Legendre approximation

Usage

1

Arguments

vec

Vector (an SAD) to scale

Value

dataframe of 'x' = '(-1:1, length = length(vec))' and 'val' = 'vec / sum(vec)'


diazrenata/scads documentation built on Nov. 4, 2019, 10:30 a.m.