r - Rstudios - struggling to input the right coding -


i'm working rstudios , not know how enter code replace 1 value another. have vector of (a, b, c) , need change (a, b, d). sorry, basic question beginner!

if have character vector have described above, v <- c("a","b","c"), in order re-assign third element can type v[3] <- "d" desired result. if a,b,c, , d numeric quotes unnecessary.


Comments