setNamesProbabilityMatrix: Rename the probabilityMatrix variables

Description Usage Arguments

View source: R/createFBTS.R

Description

This function changes the name of the variables in the probabilityMatrix, created by flowBasedClustering::getProbability and used by createFBTS. Aim: rename the variables into a format consistent with Antares inputs ("area@variable"). For example, go to createFBTS.

Usage

1
setNamesProbabilityMatrix(data, oldName, newName)

Arguments

data

list, probabilityMatrix whose columns to rename, calculated with flowBasedClustering::getProbability.

oldName

character vector of old variables names

newName

character vector of new variables names


rte-antares-rpackage/antaresFlowbased documentation built on Oct. 19, 2020, 11:23 a.m.