Interviewer And Interviewee Guide

Lead Data Scientist Interview Question:

Do you know what is the difference between rnorm and runif functions?

Submitted by: Muhammad
rnorm function-

Basically, it generates “n” normal random numbers. That is totally based on the mean and standard deviation arguments passed to the function.

Syntax of rnorm function –

rnorm(n, mean = , sd = )

runif function-

Basically, it generates “n” unform random numbers in the interval. That is of minimum and maximum values passed to the function.

Syntax of runif function –

runif(n, min = , max = )
Submitted by: Muhammad

Read Online Lead Data Scientist Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.