minus: Change the sign of the losses in a layer or portfolio.

Description Usage Arguments Examples

View source: R/global.R

Description

Change the sign of the losses in a layer or portfolio.

Usage

1
2
3
4
5
6
7
minus(object)

## S3 method for class 'layer'
minus(object)

## S3 method for class 'portfolio'
minus(object)

Arguments

object

the layer to change the sign of

Examples

1
2
test_layer <- layer(4000000, 1000000, 1, "yelt_test", lobs=c("PHYSICIANS","CHC","MEDCHOICE"))
minus(test_layer)

jfkingiii/layers documentation built on July 21, 2020, 8:57 p.m.