Correlación

sdsdsadad

horas_sueno <- c(1, 2, 3, 4, 5, 8, 10)
notas <- c(5, 2 , 3, 4, 4, 1, 2)

pairs(horas_sueno ~ notas)

shapiro.test(horas_sueno)
## 
##  Shapiro-Wilk normality test
## 
## data:  horas_sueno
## W = 0.93678, p-value = 0.6099
shapiro.test(notas)
## 
##  Shapiro-Wilk normality test
## 
## data:  notas
## W = 0.95244, p-value = 0.7518
cor(horas_sueno, notas)
## [1] -0.6161917
x <- cars

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.