Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
md: data['TE.random'],
left: data['lower.random'],
right: data['upper.random'],
experimentalTotal: _.sum(_.map(series, 'experimental.total')),
controlTotal: _.sum(_.map(series, 'control.total')),
},
{
type: 'Prediction interval',
md: 0,
left: data['lower.predict'],
right: data['upper.predict'],
},
];
draw(elem, width, series, effects, data['level.predict']);
};
title: "SD",
getter: d => f2format(d.control.sd),
x: leftLegendScale(98),
},
];
var rightTable = [
{
title: "MD",
getter: d => f2format(d.md),
x: rightLegendScale(15),
effectsPlot: d => f2format(d.md),
},
{
title: p0format(data["level.predict"]) +"-CI",
getter: d =>"[" + f2format(d.left) + "," + f2format(d.right) + "]",
x: rightLegendScale(49),
effectsPlot: d => "[" + f2format(d.left) + "," + f2format(d.right) + "]",
},
{
title: "w(fixed)",
getter: d => p1format(d.fixedWeight),
x: rightLegendScale(72),
},
{
title: "w(random)",
getter: d => p1format(d.randomWeight),
x: rightLegendScale(100),
},
]