我會嘗試3D打印數據,爲二元分類示例提供一些很好的視覺效果。 這裏是我的3D繪圖: require(rgl)
#Get example data from mtcars and normalize to range 0:1
fun_norm <- function(k){(k-min(k))/(max(k)-min(k))}
x_norm <- fun_norm(mtcars$drat)
我正在嘗試創建一個快速應用程序,讓用戶選擇3個變量並使用scatter3D重新生成3D散點圖。在使用閃光燈時我一直都會碰到這個錯誤,我看不出來糾正它。 Error: not all arguments have the same length 我的代碼也可以,如果更換: x = paste("df.output$",input$test,sep=""),
y = paste("df.output