STAT545-UBC-hw-2018-19 / hw08-patriciata

hw08-patriciata created by GitHub Classroom
0 stars 0 forks source link

TA comments #3

Open ChadFibke opened 5 years ago

ChadFibke commented 5 years ago

Coding Style

The good :thumbsup:

Needs work :thumbsdown:

# there are alternative if else statments in r
if_else(a_conditon, "Print A is True",
        if_else(b_conditon, "Print B is True",
               if_else(C_conditon,"Print C is True", "THE SKY IS FALLING")))
# But if you like you if and else if that is also fine!

Coding Strategy

The good :thumbsup:

Needs work :thumbsdown:

selectInput("Country_you_want", "Select Country", list(   "Europe" = c("Germany", "Spain"),   "North America" = c("Canada", "United States" = "USA") )) 

# This example was taken from https://github.com/daattali/advanced-shiny/tree/master/dropdown-groups

Graphs

The good :thumbsup:

Needs work :thumbsdown:

ggtitle(sprintf("This graph shows %s, from %s between the prices %s and %s", input$typeInput,input$countryInput, input$priceInput[1],input$priceInput[2]))

# since this is already in a renerplot (reactive context) the title will change for you :)

Tables

The good :thumbsup:

Needs work :thumbsdown:

Creativity & Ease of Access

The good :thumbsup:

Needs work :thumbsdown:

ChadFibke commented 5 years ago

Sorry