R code doesnt work

Good Morning
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

to understand a Stata code, perhaps a Stata forum could help you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.