tutorials:r_plots
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorials:r_plots [2026/10/12 12:19] – hychang | tutorials:r_plots [2026/10/13 10:44] (current) – [Box plots] hychang | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| An user guide to walk through data visualization by box plot in R.\\ | An user guide to walk through data visualization by box plot in R.\\ | ||
| - | Please see the tutorials for more detail.\\ | + | Please see the tutorials for more details.\\ |
| Line 159: | Line 159: | ||
| # | # | ||
| - | #### Step 3. Generating | + | #### Step 3. Generate |
| # Version 1 | # Version 1 | ||
| Line 205: | Line 205: | ||
| # | # | ||
| - | #### Step 4. Exporting | + | #### Step 4. Export |
| ## Export PDF | ## Export PDF | ||
| Line 223: | Line 223: | ||
| ## Export PNG | ## Export PNG | ||
| - | # Version 1 PNG export | + | # Version 1 PNG export |
| png(file.path(output_path, | png(file.path(output_path, | ||
| p1 | p1 | ||
| dev.off() | dev.off() | ||
| - | # Version 2 PNG export | + | # Version 2 PNG export |
| png(file.path(output_path, | png(file.path(output_path, | ||
| p2 | p2 | ||
| Line 412: | Line 412: | ||
| # | # | ||
| - | #### Step 3. Generating | + | #### Step 3. Generate |
| # Version 1 | # Version 1 | ||
| Line 460: | Line 460: | ||
| # | # | ||
| - | #### Step 4. Exporting | + | #### Step 4. Export |
| ## Export PDF | ## Export PDF | ||
| Line 478: | Line 478: | ||
| ## Export PNG | ## Export PNG | ||
| - | # Version 1 PNG export | + | # Version 1 PNG export |
| png(file.path(output_path, | png(file.path(output_path, | ||
| p1 | p1 | ||
| dev.off() | dev.off() | ||
| - | # Version 2 PNG export | + | # Version 2 PNG export |
| png(file.path(output_path, | png(file.path(output_path, | ||
| p2 | p2 | ||
tutorials/r_plots.1791778792.txt.gz · Last modified: by hychang