Hi, I am running the following code -
outcome <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
str(outcome)
complete.cases(outcome)
x <- outcome[complete.cases(outcome), ]
str(x)
summary(outcome)
head(outcome)
ncol(outcome)
nrow(outcome)
names(outcome)
outcome[, 11]
outcome[, 11] <- as.numeric(outcome[, 11])
hist(outcome[, 11])
source("best.R")
best("SC", "heart attack")
The results are -
best("SC", "heart attack")
NULL
NULL is coming only rather than resulting as best hospital so can anyone help me here?/
Thanks