Nothing
# Copyright Barry Rowlingson <b.rowlingson@lancaster.ac.uk> and
# Peter Diggle (c) 1991-3; http://www.maths.lancs.ac.uk/~rowlings/Splancs/
# R port: copyright 1998-2000 by Roger S. Bivand
spoints <- function(data,npoints)
{
ldat <- length(data)
if(missing(npoints)){
if(ldat%%2 != 0){
warning("Odd number of data items")
warning("last one will be ignored")
ldat <- ldat-1
data <- data[1:ldat]
}
npoints <- ldat/2
}
else{
if(ldat < npoints*2){
data <- rep(data,length.out=npoints*2)
}
else{
data <- data[1:(npoints*2)]
}
}
matrix(data,ncol=2,byrow=TRUE)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.