Skip to contents

`corename()` removes extension from name. Called in `aggregate_damage()` and `load_parameter()`.

Usage

corename(x)

Arguments

x

character, name to be corrected

Value

corrected name without the extension.

Examples


x = "my_file.txt"
x = floodam.agri:::corename(x)
print(x)
#> [1] "my_file"