Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/apply.condition.R

Apply to each column a method under condition.

1 | ```
apply.condition(x,method = "+",oper = ">",cond.val = 0)
``` |

`x` |
An integer matrix. |

`method` |
One of: "+", "-", "*", "min", "max". |

`oper` |
One of: ">, "<", ">=", "<=". |

`cond.val` |
An integer value for the condition. |

Apply to each col the specified method using the condition.

An integer vector with the coresponding values.

Manos Papadakis and Michail Tsagris

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com> and Michail Tsagris <mtsagris@uoc.gr>.

1 2 3 |

```
Loading required package: Rcpp
Loading required package: RcppZiggurat
[1] TRUE
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.