Skip to content

Commit 0a01faa

Browse files
author
jonsan21
committed
Exercise and Assignment files
1 parent 159b70a commit 0a01faa

File tree

6 files changed

+57
-0
lines changed

6 files changed

+57
-0
lines changed

5.Reading in Data/Assignment 5.dat

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
This file contains a lot of data in different formats.
2+
3+
The first set of data is this:
4+
5+
0.45 32 car 0.003
6+
NA 16 bus TRUE
7+
3.14 85 train VALUE
8+
% and then four more lines:
9+
84.34823 666 hoovercraft cosine,sine
10+
40932 666 space_shuttle integral
11+
488.33 666 submarine matrix
12+
2.718 007 bicycle 4.136e-15
13+
14+
But there are more data here:
15+
16+
3,333;45;feet;1
17+
;16;aeroplane;subspace
18+
19+
and then,
20+
21+
some more data:
22+
23+
1.00,-9999,Scooter,4pi
24+
3.21,87,motorcycle,cone
25+
26+
Thats it!
45.6 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Data created for R-course
2+
result 1970-1980 result 1981-1990 result 1991-2000
3+
13 77 96
4+
15 97 91
5+
23 67 66
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Data created for R-course
2+
A
3+
1 2 3
4+
B
5+
5 5 6
6+
8 9 6
7+
5 4 8
8+
6 9 4
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
this line should be skipped whne reading in data
2+
"x" "" "" "" "y"
3+
"1" 2 -0.153571557949554 "j" FALSE 9
4+
"2" 0 -1.17819421724726 "g" FALSE 14
5+
"3" 1 1.42372679613419 "z" TRUE 12
6+
"4" 4 -0.611556208269406 "h" TRUE 8
7+
"5" 1 1.15960297412092 "s" FALSE 14
8+
"6" 1 1.46186643398501 "r" TRUE 7
9+
"7" 1 0.451971716583293 "x" FALSE 10
10+
"8" 1 0.214172542529519 "n" TRUE 18
11+
"9" 1 -1.16125687243597 "q" TRUE 15
12+
"10" 1 -0.258677660511203 "v" TRUE 15
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
3+
x;y;z;w
4+
3,9;;a;b
5+
4,56;5;6;7
6+
3,14;NA;a;4.2

0 commit comments

Comments
 (0)