Estadísticas

Row

Estadísticas del conjunto de datos iris

  Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1          5.1         3.5          1.4         0.2  setosa
2          4.9         3.0          1.4         0.2  setosa
3          4.7         3.2          1.3         0.2  setosa
4          4.6         3.1          1.5         0.2  setosa
5          5.0         3.6          1.4         0.2  setosa
6          5.4         3.9          1.7         0.4  setosa
  Sepal.Length    Sepal.Width     Petal.Length    Petal.Width   
 Min.   :4.300   Min.   :2.000   Min.   :1.000   Min.   :0.100  
 1st Qu.:5.100   1st Qu.:2.800   1st Qu.:1.600   1st Qu.:0.300  
 Median :5.800   Median :3.000   Median :4.350   Median :1.300  
 Mean   :5.843   Mean   :3.057   Mean   :3.758   Mean   :1.199  
 3rd Qu.:6.400   3rd Qu.:3.300   3rd Qu.:5.100   3rd Qu.:1.800  
 Max.   :7.900   Max.   :4.400   Max.   :6.900   Max.   :2.500  
       Species  
 setosa    :50  
 versicolor:50  
 virginica :50  
                
                
                

Histogramas

Row

Histograma 1

Histograma 2

Histograma 3

Cajas

Row

Caja 1

Caja 2

Se observa que tiene datos atípicos

Caja 3

se puede para el informe si tiene numerica y cualitativa

Análisis por Especies

Row

Sepal Length vs Species.

Petal.Length vs Species.

para el avance también

Asociación Lineal

Row

Sepal.Length vs Petal.Length

---
title: "Tablero univalle"
author: "Marielys Diaz"
output:
  flexdashboard::flex_dashboard:
    orientation: rows
    social: menu
    source_code: embed
date: "2025-05-13"
---


Estadísticas
================================================================================
Row
--------------------------------------------------------------------------------

### Estadísticas del conjunto de datos iris


```{r}
data(iris)     ## llama los datos iris
head(iris)     ## muestras los registros del conjunto de datos
summary(iris)  ## estadisticas

```


Histogramas
================================================================================
Row
--------------------------------------------------------------------------------

### Histograma 1

```{r}
library(ggplot2)
ggplot(iris, aes(x=Sepal.Length))+
  geom_histogram(fill="blue")

```


### Histograma 2

```{r}
ggplot(iris, aes(x=Sepal.Width))+
  geom_histogram(fill="green")

```

### Histograma 3

```{r}
ggplot(iris, aes(x=Petal.Length))+
  geom_histogram(fill="purple")
```


Cajas
================================================================================

Row
--------------------------------------------------------------------------------

### Caja 1

```{r}
ggplot(iris, aes(y=Sepal.Length))+
  geom_boxplot(fill="blue")
```



### Caja 2

```{r}
ggplot(iris, aes(y=Sepal.Width))+
  geom_boxplot(fill="green")
```

Se observa que tiene datos atípicos

### Caja 3

```{r}
ggplot(iris, aes(y=Petal.Length))+
  geom_boxplot(fill="purple")
```


*se puede para el informe si tiene numerica y cualitativa*

Análisis por Especies
================================================================================
Row 
--------------------------------------------------------------------------------

### Sepal Length vs Species.

```{r caja1}
ggplot(iris, aes(y=Sepal.Length, x=Species, fill=Species))+
  geom_boxplot()
```



### Petal.Length vs Species.

```{r caja2}
ggplot(iris, aes(y=Petal.Length, x=Species, fill=Species))+
  geom_boxplot()
```


*para el avance también*

Asociación Lineal
================================================================================
Row
--------------------------------------------------------------------------------

### Sepal.Length vs Petal.Length


```{r dispersion}
ggplot(iris, aes(x=Sepal.Length, y=Petal.Length))+
  geom_jitter(color="pink")+
  geom_smooth(method="lm", color="black")
```