transfer from old repo
This commit is contained in:
parent
cfa4a5f9cc
commit
277e2b8cf3
1111 changed files with 83736 additions and 0 deletions
8
fun/normalize.R
Normal file
8
fun/normalize.R
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
normalize<-function(x){
|
||||
n<-(x-min(x))/(max(x)-min(x))
|
||||
return(n)
|
||||
}
|
||||
|
||||
# Example:
|
||||
# c<-c(1,2,4,5,6,8,3,8)
|
||||
# normalize(c)
|
||||
Loading…
Reference in a new issue