File: combos.R

package info (click to toggle)
r-cran-quantreg 6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,224 kB
  • sloc: fortran: 6,741; ansic: 288; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
# Demo of combos functions
H <- combos(20,3)
if(!require("rgl",quietly=TRUE)){
      warning("The package rgl is needed for plotting")
     } else{
      if(interactive()){
         plot3d(t(H))
         lines3d(t(H),col=rep(topo.colors(57),20))
         }
     }