Description Usage Arguments Value Examples
View source: R/plotly_app_loadsharingtraces.R
This function generates a plotly object showing how peak root reinforcement changes as function of the load sharing parameter 'betaF'. It plots results for a range of 'betaF' for both the FBMc and FBMcw models. Load sharing assumptions of existing load sharing rules are highlighted
1 | plotly_app_loadsharingtraces(dt, dp, nsignif = 3)
|
dt |
dataframe with fields for a range of load sharing parameters ('betaF'), the normalised reinforcement according to the FBMc model ('kk_fbmc') and the normalised reinforcement according to the FBMcw model ('kk_fbmcw'). |
dp |
dataframe with fields for existing load sharing parameters (‘betaF'), the name of this load sharing rule ('loadsharing’), the normalised reinforcement according to the FBMc model ('kk_fbmc') and the normalised reinforcement according to the FBMcw model ('kk_fbmcw'). |
nsignif |
number of significant digits in plotly hover labels (integer scalar) |
plotly object
1 2 3 4 5 6 7 8 9 10 11 12 | dtrace <- data.frame(
betaF = seq(0, 1, l = 51),
kk_fbmc = seq(0, 1, l = 51)^2,
kk_fbmcw = seq(0, 1, l = 51)^0.5
)
drules <- data.frame(
loadsharing = c('test1', 'test2'),
betaF = c(0.5, 0.8),
kk_fbmc = c(0.5, 0.8)^2,
kk_fbmcw = c(0.5, 0.8)^0.5
)
plotly_app_loadsharingtraces(dtrace, drules, nsignif = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.