for a projekt at university i would like to simulate a study, which was in Stata programmed .
now i have this code from in Stat
for var smoking quitters stopsmok: replace X=X*100
X is not one of my variables and i did not defined. what they mean? and how can rewrite it in R?
i will be thankfull for your help