set_fdate: Set date stamp in a file name

Description Usage Arguments Value Examples

View source: R/set.R

Description

This function sets the date stamp in a file name.

Usage

1

Arguments

x

a character or a filename

date

new date stamp (character or Date)

Value

modified object of the original type

Examples

1
2
x <- "data_norm_2011-01-03.txt"
print(set_fdate(x, "2011-01-05"))

filenamer documentation built on May 4, 2018, 9:04 a.m.