sumC: A function that can sum the value of a vector

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

A function that can sum the value of a vector

Usage

1
sumC(x, p)

Arguments

x

the vector

p

the length of x or the length we want to caculate

Value

a double value

Examples

1
2
3
4
5
6
## Not run: 
r<-c(-1,-2,3)
p<-length(r)
sumC(r,p)

## End(Not run)

USTCLifengLiu/StatComp21038 documentation built on Dec. 23, 2021, 10:18 p.m.