View source: R/format_suploss.R
format_suploss | R Documentation |
Calculate superficial capital losses to be substracted from total capital losses.
format_suploss( data, transaction = "transaction", quantity = "quantity", cl = NULL )
data |
The data |
transaction |
Name of transaction column |
quantity |
Name of quantity column |
cl |
The number of cores to use. |
A data frame of formatted transactions, with added columns with information about superficial losses.
data <- data_adjustedcostbase1 format_suploss(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.