topics

全部话题 - 话题: gregmisc
(共0页)
F****r
发帖数: 151
1
来自主题: Statistics版 - about R function to do N!
something from R-help
There is the factorial() function in the gregmisc package on CRAN,
otherwise the gamma() function as has been mentioned.
s*****n
发帖数: 2174
2
来自主题: Statistics版 - got a problem in R ><
library(gregmisc)
x <- permutations(4,4)
x[is.element(x, c(1,2))] <- 0
x[is.element(x, c(3,4))] <- 1
unique(data.frame(x))
(共0页)