commit 8acdc283a2f531f3d927e17dd706ff9915bb73d4 parent 3e70318e36ac0997697448e6aca2cdc9154e8c5e Author: NunoSempere <nuno.sempere@protonmail.com> Date: Sun, 21 May 2023 12:04:27 -0400 look at the R code Diffstat:
| A | R/.Rhistory | | | 0 | |
| M | R/samples.R | | | 6 | ++---- |
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/R/.Rhistory b/R/.Rhistory diff --git a/R/samples.R b/R/samples.R @@ -47,7 +47,4 @@ weights = c((1 - p_c), p_c/2, p_c/4, p_c/4) # print(weights) result = mixture(dists, weights) mean_result = mean(result) -print(mean_result) - - - +print(mean_result) +\ No newline at end of file