Nothing
"as.asc" <- function(x, xll=1, yll=1, cellsize=1,
type=c("numeric", "factor"),
lev=levels(factor(x)))
{
## Verifications
type<-match.arg(type)
if (!inherits(x, "matrix"))
stop("x should be a matrix")
## creates the attributes
mode(x)<-"numeric"
attr(x, "xll")<-xll
attr(x, "yll")<-yll
attr(x, "cellsize")<-cellsize
attr(x, "type")<-type
if (type=="factor")
attr(x, "levels")<-lev
class(x)<-"asc"
## Output
return(x)
}
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.