|R| Experts
1.02K subscribers
376 photos
35 videos
58 files
205 links
@R_Experts
🔴آمار علم جان بخشیدن به داده‌هاست.
🔷ارتباط با ما
@iamrezaei
لینک یوتیوب و اینستاگرام و ویرگول:
https://zil.ink/expertstv
Download Telegram
#prod

prod() function returns the multiplication results of all the values present in its arguments.

prod(..., na.rm=FALSE)


...: numeric or complex or logical vectors
na.rm: whether missing values be removed or not
...

> prod(4:6) #4 × 5 × 6

[1] 120


> x <- c(3.2,5,4.3)
> prod(x) #3.2 × 5 × 4.3

[1] 68.8

@R_Experts