pmaxRcpp: pmax() in Rcpp

View source: R/RcppExports.R

pmaxRcppR 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.


drkowal/rSTAR documentation built on July 5, 2023, 2:18 p.m.