Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problema para calcular la media en una base de datos #1

Open
testemailmarketing opened this issue Mar 28, 2024 · 0 comments
Open

Problema para calcular la media en una base de datos #1

testemailmarketing opened this issue Mar 28, 2024 · 0 comments
Assignees
Labels
Quarto question Question about Quarto R question Question about R

Comments

@testemailmarketing
Copy link

Describe the problem in general that you are having with R or Quarto

Estimado profesor tengo un problema al calcular la media de una variable en una base de datos que viene por defecto en R

Point out a Minimal Reproducible Example (MRE) in relation to the problem you are having

head(airquality)
#>   Ozone Solar.R Wind Temp Month Day
#> 1    41     190  7.4   67     5   1
#> 2    36     118  8.0   72     5   2
#> 3    12     149 12.6   74     5   3
#> 4    18     313 11.5   62     5   4
#> 5    NA      NA 14.3   56     5   5
#> 6    28      NA 14.9   66     5   6
mean(airquality$Ozone)
#> [1] NA

Created on 2024-03-28 with reprex v2.1.0

Settings (please complete the following information)

  • Operating system: Windows 11 pro
  • R version: 4.3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quarto question Question about Quarto R question Question about R
Projects
None yet
Development

No branches or pull requests

2 participants