| MapBase | R Documentation |
MapBase(x, y, xscale, yscale)
x |
|
y |
|
xscale |
|
yscale |
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
MapBase(4,4)
## The function is currently defined as
function(x,y,xscale,yscale){
x=0:x
y=0:y
x=(x[-1]+ x[length(x)])/2
y=(y[-1]+ y[length(y)])/2
return(list(BaseX=MatBase(y*yscale,x),
BaseY=t(MatBase(x*xscale,y))
))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.