Learn R Programming

compositions (version 1.01-1)

gsi.expandrcomp: Internal function: Scaling rcomp

Description

This functions tries to compute something similar to a scaling of an acomp object in the context of the rcomp geometry.

Usage

gsi.expandrcomp(x,alpha)

Arguments

x
an rcomp object
alpha
a number or a numeric vector between 0 and 1

Value

  • an rcomp-object

Examples

Run this code
#gsi.expandrcomp(rcomp(1:3),0.5)

Run the code above in your browser using DataLab