Watts-College / cpp-527-spr-2022

https://watts-college.github.io/cpp-527-spr-2022/
0 stars 1 forks source link

Lab 02 #17

Open mmonakho opened 2 years ago

mmonakho commented 2 years ago

In the Lab 2 instructions, it asks you to "bundle the results". What does it imply?

I looked at the previous issue and it looked like that step was missing in the code.

Dselby86 commented 2 years ago

When the code says Bundle the results its telling you to add all your results together after you run the code 1000 times

include the line library(tidyverse) in your code

Round(2) means to round to two decimal places.

On Tue, Jan 25, 2022 at 3:42 PM mmonakho @.***> wrote:

Also, when I try running this chunk of code:

table( results.df ) %>% prop.table( margin=1 ) %>% # row proportions round( 2 )

...it gives me an error:

Error in table(results.df) %>% prop.table(margin = 1) %>% round(2) : could not find function "%>%

I am also not fully understanding what this part of code mean: round( 2 ) ?

— Reply to this email directly, view it on GitHub https://github.com/Watts-College/cpp-527-spr-2022/issues/17#issuecomment-1021677225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4EHB2YDEB2KVK27RL3CADUX4RM5ANCNFSM5MZP7PDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>