CreateOutputFileName {hivEstimatesAccuracy} | R Documentation

## CreateOutputFileName

### Description

Create output file name based on the input file name.

### Usage

    CreateOutputFileName(
      inputFileName,
      outputPath = dirname(inputFileName),
      prefix = "",
      suffix = "",
      extension = "txt"
    )

### Arguments

`inputFileName` | Input file name. Required.
`outputPath` | Output path for the file. Optional. Default = `dirname(inputFileName)`.
`prefix` | String to add at the beginning of the file name. Optional. Default = "".
`suffix` | String to add at end beginning of the file name. Optional. Default = "".
`extension` | File extension. Optional. Default = "txt".

### Value

File name

### Examples

    CreateOutputFileName(inputFileName = "test.xlsx")
    CreateOutputFileName(inputFileName = "C:/Files/test.xlsx")
    CreateOutputFileName(inputFileName = "C:/Files/test.xlsx", prefix = "Output_")

[Package hivEstimatesAccuracy version 1.10.0 Index]