R/mat_1_0.R

Defines functions mat_1_0

mat_1_0 <-
function(mat, e){
    mat2 <- ifelse(mat <= e, 1, 0)
    return(mat2)}

Try the TTMap package in your browser

Any scripts or data that you put into this service are public.

TTMap documentation built on Nov. 8, 2020, 7:30 p.m.