---
title: "R Notebook"
output: html_notebook
---
This is an [R Markdown](http://rmarkdown.rstudio.com) Notebook. When you execute code within the notebook, the results appear beneath the code.
Try executing this chunk by clicking the *Run* button within the chunk or by placing your cursor inside it and pressing *Ctrl+Shift+Enter*.
```{r}
library(raster)
```
Add a new chunk by clicking the *Insert Chunk* button on the toolbar or by pressing *Ctrl+Alt+I*.
```{r}
toy <- raster (ncol=5, nrow =5, xmn = 100, xmx = 150, ymn = 100, ymx = 150)
```
```{r}
toy
```
```{r}
values(toy) <- rnorm(n = 25, mean = 0.40, sd = 0.15)
```
```{r}
values(toy)
```
```{r}
plot(toy)
text(toy*100)
```
Esto es para plotear y vizualizar los raster con los valores que se les asigno anteriormente.
```{r}
hist(toy)
```
Muestra el histrgrama del TOY.