str(data_1)
#> Error in str(data_1): object 'data_1' not found
summary(data_1)
#> Error in summary(data_1): object 'data_1' not found
notypos <- data_1
#> Error in eval(expr, envir, enclos): object 'data_1' not found
apply(notypos[, c("gender","grade","major")], 2,table)
#> Error in apply(notypos[, c("gender", "grade", "major")], 2, table): object 'notypos' not found
apply(notypos[,c("gender","grade")],2,table)
#> Error in apply(notypos[, c("gender", "grade")], 2, table): object 'notypos' not found
summary(notypos)
#> Error in summary(notypos): object 'notypos' not found
summary(notypos$GPA)
#> Error in summary(notypos$GPA): object 'notypos' not found
notypos$GPA[notypos$GPA>4] <-NA
#> Error in notypos$GPA[notypos$GPA > 4] <- NA: object 'notypos' not found
summary(notypos$GPA)
#> Error in summary(notypos$GPA): object 'notypos' not found
names(notypos)
#> Error in eval(expr, envir, enclos): object 'notypos' not found
head(notypos[ , 6:56])
#> Error in head(notypos[, 6:56]): object 'notypos' not found
notypos[ , 6:56] [ notypos[ , 6:56] > 6] <- NA
#> Error in notypos[, 6:56][notypos[, 6:56] > 6] <- NA: object 'notypos' not found
summary(notypos)
#> Error in summary(notypos): object 'notypos' not found
names(notypos)
#> Error in eval(expr, envir, enclos): object 'notypos' not found
Created on 2022-04-17 by the reprex package (v2.0.1)
Here is my script