zhangl30@nih.gov asked 1 month ago

Dear all:
I am trying to rename A to B as you can see in the attached image using R. Can you please let me know how to figure it out?
Thank you in advance for your kind help!
Lumin Zhang 
Scientist(C)
NOB/NCI/NIH

Attachments
1 Answers
zhangl30@nih.gov answered 1 month ago

x<-factor(c(data2$A))
y <-sub(“^”,”wpi”,x)
data2$ont < y