Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) print(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) summary(jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40 observationweight<-1/3
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40 observationweight<-1/3
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) #plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40 observationweight<-1/3
...
-
1 2 3 4 5 6 7 8 9
library(SuppDists) jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU") xvals<-seq(10,60,by=1) yvals<-dJohnson(xvals,jdist) plot(xvals,yvals,col="blue",type="l") #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third observation<-40 observationweight<-1/3
...
-
1
plot(rnorm(100))
-
1
plot(rnorm100)
-
1
rnorm(100)
-
1 2 3 4 5 6 7 8 9
song<-function(n=99) { a<-" bottle" b<-" of beer on the wall, " c<-" of beer. " d<-"Take one down and pass it around: " # ## set "beer counter" vector counter<-c(as.character(n:1),"No more") #
...
-
1 2 3 4 5 6 7 8 9
y=c(15,11,12,5,12) lambda=50 a=1 b=1 data=list(n=length(y),y=y,lambda=lambda,a=a,b=b) params=list("phi","N") inits=function(){ phi=rbeta(1,a,b) N=rpois(length(y),lambda)
...
-
1 2 3 4 5 6 7 8 9
song<-function(n=99) { a<-" bottle" b<-" of beer on the wall, " c<-" of beer. " d<-"Take one down and pass it around: " # ## set "beer counter" vector counter<-c(as.character(n:1),"No more") #
...


