depreciated/R/technology_data_frame.R

[moved to class_technology.R]
#---------------------------------------------------------------------------------------------------------
#! technology_data_frame <- function() : get technology slot data.frame names
#---------------------------------------------------------------------------------------------------------
.technology_data_frame <- function() {
# get technology slot data.frame names
  g <- getClass('technology')
  names(g@slots)[sapply(names(g@slots),function(z) g@slots[[z]] == 'data.frame')]
}
olugovoy/energyRt documentation built on Nov. 21, 2024, 2:24 a.m.