Skip to content

Commit

Permalink
Merge pull request #47 from imperialCHEPI/time
Browse files Browse the repository at this point in the history
Remove `weighted_sodium_ci_low` and `weighted_sodium_ci_high`
  • Loading branch information
SaranjeetKaur authored Aug 16, 2024
2 parents 0618289 + 913927c commit 441d98a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/data-process.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ gen_data_mean_weighted <- function(data_mean) {
dplyr::summarise(weighted_income =stats::weighted.mean(data_mean$income, data_mean$count),
weighted_sector = stats::weighted.mean(data_mean$sector, data_mean$count),
weighted_sodium = stats::weighted.mean(data_mean$sodium, data_mean$count, na.rm = TRUE),
weighted_sodium_ci_low = stats::weighted.mean(data_mean$sodium_ci_low, data_mean$count, na.rm = TRUE),
weighted_sodium_ci_high = stats::weighted.mean(data_mean$sodium_ci_high, data_mean$count, na.rm = TRUE),
weighted_carbohydarte = stats::weighted.mean(data_mean$carbohydrate, data_mean$count, na.rm = TRUE),
weighted_fat = stats::weighted.mean(data_mean$fat, data_mean$count, na.rm = TRUE),
weighted_protein = stats::weighted.mean(data_mean$protein, data_mean$count, na.rm = TRUE),
Expand Down

0 comments on commit 441d98a

Please sign in to comment.