Inputting Data
Now we're going to input some data. The easiest way to input data is using the input
command. In this case, you will enter three variables named sex dog and cat. The values are as follows in the order sex, dog, cat:
- 0 3 4
- 1 4 2
- 1 1 5
- 0 5 2
- 0 3 3
- 1 2 2
- 0 3 1
- 1 2 4
- 0 3 3
- 1 5 5
To input this data, the command is input
followed by the desired variable names.
Now enter each line of data followed by the enter key. Don't forget to leave spaces in between each value.
After you hit enter, each line should show up in the "Results" window. When you have entered all 10 lines use the command end
.