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

Natalie Luffman #19

Open
NGL-git opened this issue Mar 15, 2023 · 0 comments
Open

Natalie Luffman #19

NGL-git opened this issue Mar 15, 2023 · 0 comments

Comments

@NGL-git
Copy link

NGL-git commented Mar 15, 2023

n <- 10
mydat <- data.frame(exam_1 = rnorm(n, 70, 15),
                    exam_2 = rnorm(n, 86, 5),
                    exam_3 = rnorm(n, 68, 13)
)

mydat$lowest_exam = apply(mydat, 2, min) 
#> Error in `$<-.data.frame`(`*tmp*`, lowest_exam, value = c(exam_1 = 42.322692023901, : replacement has 3 rows, data has 10

Created on 2023-03-15 with reprex v2.0.2

tpyork added a commit that referenced this issue Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant