-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
898 changed files
with
313,260 additions
and
1 deletion.
There are no files selected for viewing
Binary file added
BIN
+326 KB
...orkbooks-quarto-pub/flow-structures-biostats/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
...aterial/workbooks-quarto-pub/flow-structures-biostats/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...rial/workbooks-quarto-pub/funciones-biostats/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
...tats/material/workbooks-quarto-pub/funciones-biostats/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...orkbooks-quarto-pub/intro-R-vectores-tibbles/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
...aterial/workbooks-quarto-pub/intro-R-vectores-tibbles/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...terial/workbooks-quarto-pub/joins-import-bio/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
...ostats/material/workbooks-quarto-pub/joins-import-bio/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...stats/material/workbooks-quarto-pub/tidydata/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
R-biostats/material/workbooks-quarto-pub/tidydata/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...ascience/material/workbooks-quarto-pub/dplyr/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
R-datascience/material/workbooks-quarto-pub/dplyr/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...aterial/workbooks-quarto-pub/flow-structures/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
...science/material/workbooks-quarto-pub/flow-structures/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...ence/material/workbooks-quarto-pub/funciones/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
R-datascience/material/workbooks-quarto-pub/funciones/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...cience/material/workbooks-quarto-pub/intro-R/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
R-datascience/material/workbooks-quarto-pub/intro-R/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...e/material/workbooks-quarto-pub/joins-import/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
R-datascience/material/workbooks-quarto-pub/joins-import/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...material/workbooks-quarto-pub/textos-tibbles/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
...ascience/material/workbooks-quarto-pub/textos-tibbles/img/sectores_muchas_categorías.webp
Binary file not shown.
Binary file added
BIN
+326 KB
...ience/material/workbooks-quarto-pub/tidydata/img/sectores_muchas_categorías.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.6 KB
R-datascience/material/workbooks-quarto-pub/tidydata/img/sectores_muchas_categorías.webp
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
library(tidyverse) | ||
datos <- read_csv(file = "./datos/wine.csv") | ||
datos | ||
|
||
# 1. Visualiza tu variable objetivo (Price) | ||
ggplot(datos) + | ||
geom_boxplot(aes(x = Price)) + | ||
theme_minimal() | ||
# 2. De todas las posibles predictoras (X), | ||
# si solo pudieses usar una para una reg. lineal | ||
# ¿cuál usarías y por qué? (piensa antes si alguna variable sobra) | ||
datos |> | ||
select(where(is.numeric)) |> | ||
cor() | ||
# 3. La que decidas usar, visualiza X vs Y. Cuantifica su | ||
# posible asociación lineal. | ||
ggplot(datos) + | ||
geom_point(aes(x = AGST, y = Price)) + | ||
theme_minimal() | ||
library(GGally) | ||
GGally::ggpairs(datos) | ||
|
||
cor.test(datos$AGST, datos$Price) | ||
# 4. haz una ajuste lineal univariante e interpreta | ||
ajuste_lineal <- lm(data = datos, formula = Price ~ -1 + AGST) | ||
ajuste_lineal |> summary() |
Oops, something went wrong.