This file is part of the lecture Business Intelligence & Analytics (EESYS-BIA-M), Information Systems and Energy Efficient Systems, University of Bamberg.
# Part Data types
```{r Exercise: Working with lists}
# Execute the code chunks of Tutorial 1 first to have the variables text, u, x, A, etc. loaded into your environment.
# Exercise 27
list_data <- list(text, u, x, A)
...
...
@@ -59,15 +61,16 @@ students[3,2]
students$Age
# Exercise 37
students[students$Age < 30,"Name"] # colum name as identifier
students[students$Age < 30,"Name"] # column name as identifier
students[students$Age < 30,2] # column index as identifier
students[students$Age < 30,]$Name # get a data.frame and then select the variable by $ operator
This file is part of the lecture Business Intelligence & Analytics (EESYS-BIA-M), Information Systems and Energy Efficient Systems, University of Bamberg.