# R Codes at TU München

## Flashcards and summaries for R Codes at the TU München

Efficient learning

Efficient learning

Synchronization on all devices

It’s completely free

4.5 /5

4.8 /5

4.5 /5

4.8 /5

## Study with flashcards and summaries for the course R Codes at the TU München

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

number of stores with store.data & storeNum

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

rep(c(1:3), length.out = 9)
Output?
seq(1,5, length.out=11)

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

x<-c(1,2,3)
v<-c('A','B','C')
z<-c(1:5)
test<-list(v,x,z)
test[[1]][3]

Output?

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

z<-seq(1,20,4)
z[z>12]

Output?:
a) 13 17
b) FALSE FALSE FALSE TRUE TRUE
c) 20
d) 1 5 9 13 17
e) none of the above

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

z<-c(1,2,-3,TRUE)
z[z>FALSE]

Output?

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

What creates the following output:
[1] 1 7 10

a) z<-seq(1,10,3)
z[c(TRUE,FALSE,TRUE)]
b) z<-seq(1,10,3)
z[TRUE,FALSE,TRUE]
c) z<- c(1,7,3)
d) z<-c(1,10,3)
e) None of the above

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

z<-seq(1,10,3)
z[TRUE,FALSE,TRUE]

Output?

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

z<-c('2',4)
str(z)

Output? data type?

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

z<-c(as.integer('2'),TRUE)
str(z)

Output? data type?

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

z<-c(as.integer('TRUE'),4)
str(z)

Output? data type?

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

z<-c(factor(4),factor(2))
str(z)

Output? data type?

### Exemplary flashcards for R Codes at the TU München on StudySmarter:

Using blackfriday as data, showing different observations for age on the x-axis, plot type is geometric bar chart with absolute numbers (..= ‘count’)

Your peers in the course R Codes at the TU München create and share summaries, flashcards, study plans and other learning materials with the intelligent StudySmarter learning app.

Get started now!

## Exemplary flashcards for R Codes at the TU München on StudySmarter:

R Codes

number of stores with store.data & storeNum

str(summary(as.factor(store.data\$storeNum)))

R Codes

rep(c(1:3), length.out = 9)
Output?
seq(1,5, length.out=11)
• [1] 1 2 3 1 2 3 1 2 3
• [1] 1.0 1.4 1.8 2.2 …. 5.0

R Codes

x<-c(1,2,3)
v<-c('A','B','C')
z<-c(1:5)
test<-list(v,x,z)
test[[1]][3]

Output?

[1] “C”

R Codes

z<-seq(1,20,4)
z[z>12]

Output?:
a) 13 17
b) FALSE FALSE FALSE TRUE TRUE
c) 20
d) 1 5 9 13 17
e) none of the above

a)

R Codes

z<-c(1,2,-3,TRUE)
z[z>FALSE]

Output?

[1] 1 2 1

R Codes

What creates the following output:
[1] 1 7 10

a) z<-seq(1,10,3)
z[c(TRUE,FALSE,TRUE)]
b) z<-seq(1,10,3)
z[TRUE,FALSE,TRUE]
c) z<- c(1,7,3)
d) z<-c(1,10,3)
e) None of the above

a)

R Codes

z<-seq(1,10,3)
z[TRUE,FALSE,TRUE]

Output?

ERROR!

R Codes

z<-c('2',4)
str(z)

Output? data type?

chr [1:2] “2” “2”

R Codes

z<-c(as.integer('2'),TRUE)
str(z)

Output? data type?

int [1:2] 2 1

R Codes

z<-c(as.integer('TRUE'),4)
str(z)

Output? data type?

num [1:2] NA 4

NA WERDEN AUFGEFÜLLT!!!!!

R Codes

z<-c(factor(4),factor(2))
str(z)

Output? data type?

int [1:2] 1 1

(AUS 4 UND 2 WIRD ZWEI MAL EINE 1!!!!!!)

R Codes

Using blackfriday as data, showing different observations for age on the x-axis, plot type is geometric bar chart with absolute numbers (..= ‘count’)

ggplot(data=blackfriday, aes(x = Age, fill=Age)) + geom_bar(stat=’count’)

## Other courses from your degree program

For your degree program Management And Technology at the TU München there are already many courses on StudySmarter, waiting for you to join them. Get access to flashcards, summaries, and much more.

Back to TU München overview page

## What is StudySmarter?

StudySmarter is an intelligent learning tool for students. With StudySmarter you can easily and efficiently create flashcards, summaries, mind maps, study plans and more. Create your own flashcards e.g. for R Codes at the TU München or access thousands of learning materials created by your fellow students. Whether at your own university or at other universities. Hundreds of thousands of students use StudySmarter to efficiently prepare for their exams. Available on the Web, Android & iOS. It’s completely free.

Best EdTech Startup in Europe

EUROPEAN YOUTH AWARD IN SMART LEARNING

BEST EDTECH STARTUP IN GERMANY

Best EdTech Startup in Europe

EUROPEAN YOUTH AWARD IN SMART LEARNING

BEST EDTECH STARTUP IN GERMANY

## How it works

### Get a learning plan

Prepare for all of your exams in time. StudySmarter creates your individual learning plan, tailored to your study type and preferences.

### Create flashcards

Create flashcards within seconds with the help of efficient screenshot and marking features. Maximize your comprehension with our intelligent StudySmarter Trainer.

### Create summaries

Highlight the most important passages in your learning materials and StudySmarter will create a summary for you. No additional effort required.

### Study alone or in a group

StudySmarter automatically finds you a study group. Share flashcards and summaries with your fellow students and get answers to your questions.

### Statistics and feedback

Always keep track of your study progress. StudySmarter shows you exactly what you have achieved and what you need to review to achieve your dream grades.

1

2

3

4

5