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

Isaiah Klimek #30

Open
iklimek opened this issue Mar 13, 2024 · 0 comments
Open

Isaiah Klimek #30

iklimek opened this issue Mar 13, 2024 · 0 comments

Comments

@iklimek
Copy link

iklimek commented Mar 13, 2024

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 = 53.9851510963137, : replacement has 3 rows, data has 10

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

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