I've had script for a survival analysis that could produce (1) a failure plot, (2) summary and test between groups for two comparison group. I've tried to export these to a journal and save as a MSword, nothing happened. Even the file "JournalTest.doc" did not appear in the folder. Could you please help me revise my codes? I've attached my data table and a test journal that shows what I want. Shorten my codes wherever possible.