Skip to contents

Deletes the original (un-prime) columns and renames the prime columns to those names.

Usage

rename_prime_psut_columns(
  .psut_data,
  suffix = "_prime",
  R = Recca::psut_cols$R,
  U = Recca::psut_cols$U,
  V = Recca::psut_cols$V,
  Y = Recca::psut_cols$Y,
  r_eiou = Recca::psut_cols$r_eiou,
  U_eiou = Recca::psut_cols$U_eiou,
  U_feed = Recca::psut_cols$U_feed
)

Arguments

.psut_data

A data frame of PSUT matrices.

suffix

The suffix for columns of aggregated matrices. Default is "_prime".

R, U, V, Y, r_eiou, U_eiou, U_feed

The names of input columns in .psut_data.

Value

A version of .psut_data with original PSUT columns deleted and suffixed columns renamed to original names.

Details

This is an internal helper function and not intended for broader use.