powered by
This function returns the scaled vector Y by a value X.
scaleVector(x,y)
A numeric value
A numeric vector
Returns the scaled vector y by x
y
x
e.g. Y<-c(1,2,3) x<-5 Now calling fucntiion: scaleVector(x,y) it returns [1] [2] [3] 6 7 8
# NOT RUN { x<-5 y<-c(1,2,3) scaleVector(x,y) # }
Run the code above in your browser using DataLab