powered by
It sums up the values in rows and calculates their means.
vsc(x)
a data frame object
returns a vector of numeric(double) values with same length as the number of rows in x
The function applies all the instruction in R base function sum.
# NOT RUN { var = data.frame(C1=c(2,5,3,4,1), C2=c(2,2,3,1,4), C3=c(4,1,1,2,3), C4=c(5,5,5,3,4)) dt = vsc(var) # }
Run the code above in your browser using DataLab