Learn R Programming

bscaling (version 1.0)

vsc: Sum And Average

Description

It sums up the values in rows and calculates their means.

Usage

vsc(x)

Arguments

x

a data frame object

Value

returns a vector of numeric(double) values with same length as the number of rows in x

Details

The function applies all the instruction in R base function sum.

Examples

Run this code
# 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