FileName: File Name

Description Usage Arguments Examples

Description

simple function to construct a file name for data

Usage

1
2
3
4
5
6
7
8
FileName(
  project = "Project",
  subset = NULL,
  type = NULL,
  name = NULL,
  unix = TRUE,
  ...
)

Arguments

project

name of project, Default: 'Project'

subset

define subset of data, Default: NULL

type

type of data, Default: NULL

name

save name, Default: NULL

unix

logical, indicating whether or not to append unix timestamp, Default: TRUE

...

further arguments passed to or from other methods

Examples

1
2
3
4
5
6
7
8
9
 FileName()
 # [1] "Project-Name-1528834963"

 FileName(project = "Project" ,
         subset = "subset" ,
         type = "longitudinal" ,
         name = "cheese",
         unix = FALSE)
 # [1] "Projectsubset-longitudinal-cheese"

bfw documentation built on Jan. 11, 2020, 9:29 a.m.