Basic Descriptive Statistics

lets look at some basic descriptive statics for each variable

Patient age

Here are some summary statistics for patient Age

summary(df2$PatientAge)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##     0.0    33.0    53.0    50.5    67.0   102.0
boxplot(df2$PatientAge)

Complete R Code

df<-read.csv("https://raw.githubusercontent.com/tmatis12/datafiles/refs/heads/main/RadDat_CareOne.csv")
head(df)
df2<-data.frame(df$PatientAge,df$Priority)
colnames(df2)<-c("PatientAge","Priority")
head(df)
df2<-df[,c(2,9)]
head(df2)
df2Priority<-as.factor(df2$Priority)
str(df2)
summary(df2$PatientAge)
boxplot(df2$PatientAge)