---
title: "Discussion on \"R simulations\" | Hashnode"
description: "Discussion on \"R simulations\". GOAL: simulate data for testing.\nSimulation of throwing a dice 4 times:\nsample(1:6, 4, replace = TRUE)\n\nReplaced = TRUE insert the data after each launch.You can set up the probability of each event.Es. throw a coin 100 times with 30% tails probabili..."
url: "https://hashnode.com/posts/r-simulations/6108020967f3446d989037cb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [R simulations](https://massyfigini.hashnode.dev/r-simulations?utm_source=hashnode&utm_medium=feed)

GOAL: simulate data for testing. Simulation of throwing a dice 4 times: sample(1:6, 4, replace = TRUE) Replaced = TRUE insert the data after each launch.You can set up the probability of each event.Es. throw a coin 100 times with 30% tails probabili...

Sep 25, 2016 · 2 min read · massyfigini.hashnode.dev  
Updated Oct 1, 2024  
Read the article

-   [#r](https://hashnode.com/tag/r)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Massimiliano Figini](https://hashnode.com/@massyfigini)

@massyfigini

  
[View profile](https://hashnode.com/@massyfigini)

Data Enthusiast

data engineer • T-SQL developer • r and python • Power BI and tableau • machine learning enthusiast • data lover Follow back granted

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
