[1] "Original dataframe:"
name score attempts qualify
1 Anastasia 12.5 1 yes
2 Dima 9.0 3 no
3 Katherine 16.5 2 yes
4 James 12.0 3 no
5 Emily 9.0 2 no
6 Michael 20.0 3 yes
7 Matthew 14.5 1 yes
8 Laura 13.5 1 no
9 Kevin 8.0 2 no
10 Jonas 19.0 1 yes
[1] "Extract Specific columns:"
exam_data.name exam_data.score
1 Anastasia 12.5
2 Dima 9.0
3 Katherine 16.5
4 James 12.0
5 Emily 9.0
6 Michael 20.0
7 Matthew 14.5
8 Laura 13.5
9 Kevin 8.0
10 Jonas 19.0
Sample Output:
[1] "Original dataframe:" name score attempts qualify 1 Anastasia 12.5 1 yes 2 Dima 9.0 3 no 3 Katherine 16.5 2 yes 4 James 12.0 3 no 5 Emily 9.0 2 no 6 Michael 20.0 3 yes 7 Matthew 14.5 1 yes 8 Laura 13.5 1 no 9 Kevin 8.0 2 no 10 Jonas 19.0 1 yes [1] "Extract Specific columns:" exam_data.name exam_data.score 1 Anastasia 12.5 2 Dima 9.0 3 Katherine 16.5 4 James 12.0 5 Emily 9.0 6 Michael 20.0 7 Matthew 14.5 8 Laura 13.5 9 Kevin 8.0 10 Jonas 19.0need an explanation for this answer? contact us directly to get an explanation for this answer