Nothing
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
###
### lpath_is_gradation.R
###
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
###
### dependencies: library(sets)
###
### 2009-04-20: created
###
lpath_is_gradation <- function(x) {
### check for gradation
FUN <- function(y) {
sd <- diff(unlist(lapply(y, function(z) length(z))), lag=1)
all(sd <= 1)
}
lapply(x, FUN)
}
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.