MapBase: Location Base of a matrix

View source: R/Map.R

MapBaseR Documentation

Location Base of a matrix

Usage

MapBase(x, y, xscale, yscale)

Arguments

x
y
xscale
yscale

Examples

##---- 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))
              ))
}



HaoLi111/MFVN documentation built on Jan. 5, 2023, 4:37 a.m.