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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -