我的闪亮图标对于我的valuebox来说太大了,我知道如何通过添加“ fa-3x”将其更改为更大,但是有人可以告诉我如何将其更改为较小吗?谢谢!
valueBox(
value = format(movie.avg1, digits = 3),
subtitle = NULL,
icon = if (movie.avg1 >= 3) icon("thumbs-up") else icon("thumbs-down"),
color = if (movie.avg1 >= 3) "aqua" else "red"
)
Run Code Online (Sandbox Code Playgroud)
我想弄清楚如何点积。
b = matrix(1:70, ncol=7)
g= matrix(1:48, ncol=6)
resulta = matrix(0,6,7)
for (c in 1:ncol(b)){
for (i in 1:ncol(g)){
resulta[i,c] <- sum((g[,i]) * (b[,c]))
}
}
Run Code Online (Sandbox Code Playgroud)
警告信息:
1: In (g[, i]) * (b[, c]) :
longer object length is not a multiple of shorter object length
2: In (g[, i]) * (b[, c]) :
longer object length is not a multiple of shorter object length
Run Code Online (Sandbox Code Playgroud)
..................... 共有 42 条相同消息