powered by
Obtain a descriptive filename for a tidycpt object
file_name(x, data_name_slug = "data")
A character string giving a unique file name.
character
A tidycpt object
character string that will identify the data set used in the file name
file_name() generates a random, unique string indicating the algorithm and fitness() for a tidycpt object.
file_name()
fitness()
# Generate a unique name for the file DataCPSim |> segment(method = "pelt") |> file_name()
Run the code above in your browser using DataLab