create_new_rda.R

# Load the data from .rds file
oncology_data <- readRDS("data/oncology_response_data.rds")

# Rename the object
treatmentResponse <- oncology_data

# Save the new object to .rda file
save(treatmentResponse, file = "data/treatmentResponse.rda", version = 2)

# Print a success message
print("Successfully created data/treatmentResponse.rda with the treatmentResponse object.")
sbalci/ClinicoPathJamoviModule documentation built on June 13, 2025, 9:34 a.m.