SOCR8006 Online Research Methods

Just one question.
Please help me modify the codes and give me a comparison cloud.
I have shown below the question some codes I wrote for the previous questions, but it is not the answer to this question.
This problem requires the ”Use of a context variable“. Please help me if you are familia with R and voson!