search for: logical_idx

Displaying 3 results from an estimated 3 matches for "logical_idx".

2020 Nov 07
4
Data Table not rendering properly using R shiny
Hi All, I have a data output as below.I want to display them in an interactive html report using shiny but the data table is not rendering properly and instead giving NA values. max_usage_hours_per_region<-setNames(aggregate(df3_machine_region$sum_as_hours~df3_machine_region$Region,df3_machine_region,max),c("Region","Sum_as_Hours")) Region Sum_as_Hours 1 Africa 1156.0833
2020 Nov 07
4
Data Table not rendering properly using R shiny
Hi All, I have a data output as below.I want to display them in an interactive html report using shiny but the data table is not rendering properly and instead giving NA values. max_usage_hours_per_region<-setNames(aggregate(df3_machine_region$sum_as_hours~df3_machine_region$Region,df3_machine_region,max),c("Region","Sum_as_Hours")) Region Sum_as_Hours 1 Africa 1156.0833
2020 Nov 07
0
[R] Data Table not rendering properly using R shiny
Hello, Or maybe logical_idx <- max_usage_hours_per_region$Region %in% input$Region Another option is ?match Hope this helps, Rui Barradas ?s 15:41 de 07/11/20, Jeff Newmiller escreveu: > This looks odd... > > max_usage_hours_per_region[input$Region,] > > This would only work if you had rownames on t...