das ist mein R-Code:R - statt Plotten, zeigt nur die Tabelle
output$heatmap_viewed_ads <- renderPlotly({
plot_ly( x = c(1,2,3,4,5), y = casted_viewed_ads$FEED, z = as.matrix(casted_viewed_ads[2:15]), type = "heatmap",colors = "Greens" )%>%
layout(title = "#Views", xaxis=list(title="Position of Display"))})
ich hier diese Daten am Plotten. Ich möchte jetzt nur die von
as.matrix(casted_viewed_ads[2:15])
erzeugte Matrix anzeigen.
Kann mir bitte jemand helfen? Ich bin neu in R. Ich benutze Shiny und Plotly.
Danke!
Sie brauchen plotly nicht für eine Tabelle zeigt - Sie einfach – amrrs