Description Usage Arguments Examples
View source: R/createPtdfForCompute.R
Transform a PTDF file for computeFB
function from package antaresFlowbased.
The returned PTDF file contains only the typical days.
1 | writePtdfOfTypicalDays(cluster, PTDF, pathOutput = getwd(), sep = ";")
|
cluster |
|
PTDF |
|
pathOutput |
|
sep |
|
1 2 3 4 5 6 7 8 9 | #load clustering results (or build them with clusteringTypicalDays function())
clusterTD <- readRDS(system.file("dataset/cluster_example.RDS",package = "flowBasedClustering"))
PTDF = system.file("dataset/ptdf_example.csv",
package = "flowBasedClustering")
writePtdfOfTypicalDays(clusterTD, PTDF)
#Write on D:/ :
writePtdfOfTypicalDays(clusterTD, PTDF, pathOutput = "D:/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.