r - Error in `[.data.frame`(t, 1) : undefined columns selected -
i got r code make visualization using ggplot. however, getting problem syntax. can see went wrong? thanks!
t <- ggplot_build(p)$data[[3]] s[i,1] <- as.character(a[i]) s[i,2] <- t[1,2] - t[(length(t[,1])),2]
the error related t in 3 lines of code.
Comments
Post a Comment