From 913927cce241c446e3f79710b8c26a72e22bc4b8 Mon Sep 17 00:00:00 2001 From: Saranjeet Kaur Date: Thu, 15 Aug 2024 17:32:44 +0100 Subject: [PATCH] remove weight_sodium_ci_low and high --- R/data-process.R | 2 -- 1 file changed, 2 deletions(-) diff --git a/R/data-process.R b/R/data-process.R index 66e302d..7ea0ce6 100644 --- a/R/data-process.R +++ b/R/data-process.R @@ -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),