Wajahat698 commited on
Commit
58208ab
·
verified ·
1 Parent(s): 05a0f1e

Update process_data.R

Browse files
Files changed (1) hide show
  1. process_data.R +1 -14
process_data.R CHANGED
@@ -219,20 +219,7 @@ trustbuilder_present <- as.logical(tolower(args[13]))
219
  log_message("Starting Trust Driver and Builder Analysis Script.", output_text_file)
220
 
221
  ########## Trust Driver Analysis ######################
222
- clean_and_convert <- function(cell) {
223
- if (is.character(cell)) {
224
- cell <- gsub("\t", "", cell)
225
- }
226
- # Convert to float
227
- suppressWarnings({
228
- num_cell <- as.numeric(cell)
229
- if (!is.na(num_cell)) {
230
- return(num_cell)
231
- } else {
232
- return(cell)
233
- }
234
- })
235
- }
236
  # Load the trust driver dataset (CSV or Excel)
237
 
238
 
 
219
  log_message("Starting Trust Driver and Builder Analysis Script.", output_text_file)
220
 
221
  ########## Trust Driver Analysis ######################
222
+
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  # Load the trust driver dataset (CSV or Excel)
224
 
225