powered by
This is a function computing the positive part of a variable.
pos.part(x)
A vector of response.
The positive part of a variable.
# NOT RUN { pt1 <- proc.time() ##Simulated data set.seed(12345) n=200 x = rnorm(n) obj <- pos.part(x) proc.time() - pt1 # }
Run the code above in your browser using DataLab