Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Permutations&Combinations
library(gtools) x <- c('red', 'blue', 'black') #pick 2 balls from the urn with replacement #get all permutations print("permutations") permutations(n=3,r=2,v=x,repeats.allowed=T) print("combinations") permutations(n=3,r=2,v=x,repeats.allowed=F)
run
|
edit
|
history
|
help
0
Linear and Logistic Regression
practical ml
AjusteNaoLinear11-02-21
4
Gab1B-newton
Mietflächen clustern für flächenbasierte Prognosen
24-08-2020-GradConj
Ass2 q2
Leap Year or Not
3dgraphics-and-curvesb