This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:guide:tips:digitize [2022/02/09 20:26] nicole_hardy_alumni.brown.edu |
wiki:guide:tips:digitize [2022/02/09 21:13] (current) nicole_hardy_alumni.brown.edu |
||
---|---|---|---|
Line 13: | Line 13: | ||
- Type in digitize(" | - Type in digitize(" | ||
- Once you do this, you will need to calibrate your x and y axes, respectively. | - Once you do this, you will need to calibrate your x and y axes, respectively. | ||
- | - On the x axis select two clearly defined points where you have the exact values. Tick marks on the x axis would be great choices. | + | - On the x axis, select two clearly defined points where you have the exact values. Tick marks on the x axis would be great choices. |
- | - On the y axis select two clearly defined points where you have the exact values. Tick marks on the y axis would be great choices. | + | - On the y axis, select two clearly defined points where you have the exact values. Tick marks on the y axis would be great choices. |
- Once you finish, you will see blue X's at the points you selected. {{ : | - Once you finish, you will see blue X's at the points you selected. {{ : | ||
- Type each of the points you selected in the console, hitting enter after each one. In the example above, you would do the following: 0, enter, 24, enter, 8.5, enter, 12, enter. | - Type each of the points you selected in the console, hitting enter after each one. In the example above, you would do the following: 0, enter, 24, enter, 8.5, enter, 12, enter. | ||
Line 22: | Line 22: | ||
<WRAP center round tip 90%> Always double check to make sure the values that R gives you align with what you're expecting. </ | <WRAP center round tip 90%> Always double check to make sure the values that R gives you align with what you're expecting. </ | ||
+ | ===== Video Walk Through: ===== | ||
+ | Check out this video! If it's blurry, go directly to the YouTube page to view it. {{youtube> | ||
+ | |||
+ | ===== R Script: ===== | ||
+ | < | ||
+ | # | ||
+ | ### Setting up workspace to be able to digitze graphs | ||
+ | # | ||
+ | setwd(" | ||
+ | install.packages(' | ||
+ | library(' | ||
+ | |||
+ | digitize(" | ||
+ | |||
+ | </ | ||