如何在闪亮的应用程序中更改helpText()的字体和颜色?
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
shinyApp(
ui = dashboardPagePlus(
header = dashboardHeaderPlus(
left_menu = tagList(
helpText( a(target="_blank","Login",href="https://www.youtube.com/")
)
)
),
sidebar = dashboardSidebar(),
body = dashboardBody(),
),
server = function(input, output) { }
)
答案 0 :(得分:1)
您可以修改元素的css类。 CSS选择器为n
:
(var(Sn(40,:))
用于选择名为NAME的类,% with n = 10000
var(Sn(40,:)) % var(S_40) = 30 (will vary slightly depending on random seed)
(40/12)*((UB-LB)^2) % 29.9505
用于选择具有标记名a的子元素。)
step = 0.01;
Domain = 40:step:80;
mu = 40*(LB+UB)/2;
sigma = sqrt((40/12)*((UB-LB)^2));
figure, hold on
histogram(Sn(40,:),'Normalization','pdf')
plot(Domain,normpdf(Domain,mu,sigma),'r-','LineWidth',1.4)
ylabel('pdf')
xlabel('S_n')
可复制的示例:
.help-block a