beyR: Yearly Break-Even Function

Description Usage Arguments Value Examples

View source: R/R PACKAGE (DEFINITIVO).R

Description

The function creates a vector by applying a sum by row within different columns with aggregate values of interest (for break-even purposes) of different dataframes.

Usage

1
beyR(df1, df2, x, y)

Arguments

df1

The dataframe we obtained from rel_vaRR(), including the column obtained by running the trnsfR() function.

df2

The dataframe we obtained from rel_vaRE(), including the column obtained by running the trnsfR() function.

x

Number of the column with Aggregate Values in df1.

y

Number of the column with Aggregate Values in df2.

Value

A vector, whose elements for yearly Break-even (difference by rows of two Aggregate Values columns)

Examples

1
z <- c(beyR(df1,df2,6,6))

unimi-dse/8554ac27 documentation built on Feb. 20, 2020, 10:13 p.m.