Sumários
Session 9
10 Novembro 2021, 13:30 • Nuno Miguel Brites
- 5.1 Manipulating data vs. working with data
- 5.2 tapply(), aggregate() and by(): Apply a function within a group
- 5.3 Tabulating data
- 5.4 The dplyr package
Session 8
3 Novembro 2021, 13:30 • Nuno Miguel Brites
- 3 Reading in data
- 3.1 Reading data from user input
- 3.2 The R working directory
- 3.3 Reading data from a text file (*.dat)
- 3.4 Variants of
read.table()
- 3.5 Reading text files from Excel
- 4.1 Writing data to a text file
- 4.2 Variants of
write.table()
- 4.3 Basic writing functions
- 4.4 Using file connections
- 4.5 Working with binary files: using
save()
andload()
- 4.6 Reading from SQL databases (extra topic)
Session 7
27 Outubro 2021, 13:30 • Nuno Miguel Brites
- Part II
- 2 Loops and flow control
- 2.1 Loops with
for
- 2.2 Flow control: if and if else statements
- 2.3 While loop example
- 2.4 Loops and run times
- 2.5
xapply()
family: a substitute to loops
Session 6
20 Outubro 2021, 13:30 • Nuno Miguel Brites
- Part II
- 1 Functions
- 1.1 Simple Functions
- 1.2 Default arguments
- 1.3 Vectorial functions
- 1.4 Integrals and derivatives
- 1.5 Simple plots
- 1.6 Function source