pmaxRcpp {countSTAR}R Documentation

pmax() in Rcpp

Description

Compute the pointwise max for two vectors of equal length

Usage

pmaxRcpp(v1, v2)

Arguments

v1

m x 1 vector

v2

m x 1 vector

Value

vm m x 1 vector of pointwise maxima

Note

This function uses Rcpp for computational efficiency.


[Package countSTAR version 1.0.2 Index]