dicho | R Documentation |
This function takes a real value and converts it to 1 if it is positive and else to 0.
dicho(val)
val |
A real value |
0 or 1.
Frédéric Bertrand
frederic.bertrand@utt.fr
https://fbertran.github.io/homepage/
ifelse
dimX <- 6
Astar <- 4
(dataAstar4 <- t(replicate(10,simul_data_YX(dimX,Astar))))
dicho(dataAstar4)
rm(list=c("dimX","Astar"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.