Just started coding yesterday for the first time and I have ZERO clue as to what I'm doing. I'm trying to run a t-test in R studio but I'm getting this error:
Error in exists(cacheKey, where = .rs.WorkingDataEnv, inherits = FALSE) : invalid first argument
Error in assign(cacheKey, frame, .rs.CachedDataEnv) : attempt to use zero-length variable name
Error in x(select[h, 1:50]) : could not find function "x"
This is the code:
KIRC1 = read.table("KIRC.txt")
x = as.vector(KIRC1[, 1:50])
y = as.vector((KIRC1[, 51:100]))
hk = t.test(x(select[h, 1:50]) (y(select[h, 51:100]), alternative = "greater"))
How do I make the t-test run?