Plotting and saving PDFs in a loop

前端 未结 2 1063
温柔的废话
温柔的废话 2021-01-15 20:20

I have a semi-melted data frame that looks like this:

head(final_melt)

   Group       Source variable   value
 Control Whole Kidney     MZF1 0.23879
 Contro         


        
2条回答
  •  囚心锁ツ
    2021-01-15 21:13

    1. Open a graphics device (pdf(), png() etc.)
    2. Create and print your ggplot or lattice graphic.
    3. Call dev.off().
    4. .....?
    5. Profit.

    In that order.

提交回复
热议问题