Histogram Plot
val random = java.util.Random(1111)
val sample = List(1000) { random.nextGaussian() }
dataFrameOf("sample" to sample).histogram("sample")
val random = java.util.Random(1111)
val sample = List(1000) { random.nextGaussian() }
plot {
histogram(sample)
}
val random = java.util.Random(1111)
val sample = List(1000) { random.nextGaussian() }
plot {
statBin(sample) {
bars {
x(Stat.x)
y(Stat.count)
}
}
}
Last modified: 22 November 2023