Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. DistriName <- readline(prompt = "Enter Distribution: ")
  2. DistriName <- as.numeric(DistriName)
  3. function(DistriName) {
  4. if(DistriName = 1) {
  5. print("You have selected the binomial distribution")
  6. } else {
  7. print("I am not familiar with the distribution. Sorry.")
  8. }
  9. }
  10.  
  11. Error: unexpected '}' in " }"
  12. Error: unexpected '}' in "}"
  13.  
  14. if (DistriName == 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement