R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

a<-c(2, 4, 6, 8, 12)
b<-c( 1, 3, 5, 7, 9)
print(b)
## [1] 1 3 5 7 9
print(a)
## [1]  2  4  6  8 12
u<-c(2,6,0,1)
v<-c(9,5,7,2)
print(paste(u))
## [1] "2" "6" "0" "1"
print(paste(v))
## [1] "9" "5" "7" "2"
print(u+v)
## [1] 11 11  7  3
print(u*v)
## [1] 18 30  0  2
abs(u)
## [1] 2 6 0 1
sqrt(u)
## [1] 1.414214 2.449490 0.000000 1.000000
Edad<-c(18 ,24, 15, 10, 11,12)
nombre<-c("santaigo", "valery", "sara", "fercho","laura", "pablo")
datos_neiva<-data.frame(Edad,nombre)
print(datos_neiva)
##   Edad   nombre
## 1   18 santaigo
## 2   24   valery
## 3   15     sara
## 4   10   fercho
## 5   11    laura
## 6   12    pablo