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

Week 3 #5

Open
gvegayon opened this issue Jan 18, 2023 · 4 comments
Open

Week 3 #5

gvegayon opened this issue Jan 18, 2023 · 4 comments
Assignees

Comments

@gvegayon
Copy link
Member

gvegayon commented Jan 18, 2023

This week, although we will continue looking into R fundamentals, we will make some room (lots of it) for the R package data.table (here is why). Here are the readings for the week:

Readings

  • Chapters 14 through 16 of Peng's R Programming for Data Science.
  • Introduction to data.table

Optional reading

  • Chapters 6 and 9 of Hadley Wickam's Advanced R.
  • Chapter 7 of the same book.
@gvegayon gvegayon self-assigned this Jan 18, 2023
gvegayon added a commit to gvegayon/PHS7045-labs that referenced this issue Jan 26, 2023
hyejung0 pushed a commit to hyejung0/PHS7045-labs that referenced this issue Jan 26, 2023
SinghRavin added a commit to SinghRavin/phs7045-labs that referenced this issue Jan 26, 2023
Daniel-K-Addo added a commit to Daniel-K-Addo/PHS7045-labs that referenced this issue Jan 26, 2023
hyejung0 pushed a commit to hyejung0/PHS7045-labs that referenced this issue Jan 26, 2023
LindaAmoafo added a commit to LindaAmoafo/PHS7045-Labs that referenced this issue Jan 26, 2023
hyejung0 added a commit to hyejung0/PHS7045-labs that referenced this issue Jan 27, 2023
EricAnto0 added a commit to EricAnto0/PHS7045-labs that referenced this issue Jan 29, 2023
EricAnto0 added a commit to EricAnto0/PHS7045-labs that referenced this issue Jan 29, 2023
@rberch
Copy link

rberch commented Jan 31, 2023

Hello, George,
I am having an error when I try to render the gfm file. @gvegayon @chipmanj

Error in eval(xfun::parse_only(name)) : object 'gfm' not found
Calls: ... create_output_format -> create_output_format_function -> eval -> eval
Execution halted

rberch added a commit to rberch/PHS7045-labs that referenced this issue Jan 31, 2023
I am having an error when I try to render the gfm file. @gvegayon @chipmanj

Error in eval(xfun::parse_only(name)) : object 'gfm' not found
Calls: ... create_output_format -> create_output_format_function -> eval -> eval
Execution halted

UofUEpiBio/PHS7045-advanced-programming#5
Daniel-K-Addo added a commit to Daniel-K-Addo/PHS7045-labs that referenced this issue Feb 2, 2023
SinghRavin added a commit to SinghRavin/phs7045-labs that referenced this issue Feb 2, 2023
SinghRavin added a commit to SinghRavin/phs7045-labs that referenced this issue Feb 2, 2023
@hyejung0
Copy link

hyejung0 commented Feb 6, 2023

Hi @gvegayon , I have questions on the Part 3. I don't think I understood how to solve the problem. Starting with Question 1, you are asking what is the median station in terms of temperature, wind speed, and atmospheric pressure. Are we supposed to find one station that has the median value of temperature, and another station with the medical wind speed, and another station that has the median atmospheric pressure? @LindaAmoafo said that there are multiple stations with the median value so we can't choose a unique station.

@gvegayon
Copy link
Member Author

Hello, George, I am having an error when I try to render the gfm file. @gvegayon @chipmanj

Error in eval(xfun::parse_only(name)) : object 'gfm' not found Calls: ... create_output_format -> create_output_format_function -> eval -> eval Execution halted

Were you able to compile it using quarto, @rberch?

@gvegayon
Copy link
Member Author

Hi @gvegayon , I have questions on the Part 3. I don't think I understood how to solve the problem. Starting with Question 1, you are asking what is the median station in terms of temperature, wind speed, and atmospheric pressure. Are we supposed to find one station that has the median value of temperature, and another station with the medical wind speed, and another station that has the median atmospheric pressure? @LindaAmoafo said that there are multiple stations with the median value so we can't choose a unique station.

@hyejung0 and @LindaAmoafo, one way to approach the problem is to look at the average values at a given time window for each station. In other words, collapse the dataset by station and compute the average temperature, wind speed, and pressure. Once you have that, you can compute the quantiles for each of the average values and find the station closest to each of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants