#' binarize the facies matrix according to the facies wanted
#'
binarize_facies<-function(facies,i){
facies[facies != i]<-0
facies[facies==i]<-1
return(facies)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.