R-coded analysis and plotting of biostatistics datasets
biostatistics to apply R coding to medical data in the given file data.csv, which is a patient demographic dataset containing standard information about individuals from various ancestral lineages.
Dataset Features Interpretation
screenplay
output= file("Output.txt") # File name of output log
sink(output, append = TRUE, type = "output") # Writing console output to log file
#Load the medical data from the given file data.csv, which is a dataset of a patient
#demographic containing standard information regarding individuals from a variety of
#ancestral lines.
data = read.csv(file= "Data.csv", sep=",", header=TRUE)
#Then Perform the following tasks using R:
print("#1. Show the first 10 rows and the last 10 rows.")
print(head(data,10))
print(tail(data,10))
cat("\n")
cat("\n")
print("#2. Using Date of Birth attri