Week1N

Author

Reginald Dorcely

Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.

Running Code

When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:

# ============================================================
# DATA 607
# ACADEMIC SURVIVAL PROJECT
# SIMPLE SUMMARY CODE
# ============================================================


# 1. Import the dataset

academic_data <- read.csv(file.choose())


# 2. Check the size of the dataset

dim(academic_data)
[1] 37  1
# 3. Check the variable names

names(academic_data)
[1] "X..."
# 5. Count dropout and no-dropout records

table(academic_data$Dropout_Status)
< table of extent 0 >
# 6. Show dropout percentages

round(
  prop.table(
    table(academic_data$Dropout_Status)
  ) * 100,
  2
)
numeric(0)
# 7. Overall GPA summary

summary(academic_data$Sem_GPA)
Length  Class   Mode 
     0   NULL   NULL 
# 16. Check missing values

colSums(
  is.na(academic_data)
)
X... 
   0