Horje
random integer in r Code Example
random integer in r
random_x <- sample(1:10, 1)

# or

random_10x = sample(-1:1, size = 10, replace = T)




17

Related
normalization in r Code Example normalization in r Code Example
how to change column names in r Code Example how to change column names in r Code Example
rename columns based on a variable in r Code Example rename columns based on a variable in r Code Example
rename variables in r Code Example rename variables in r Code Example
remove elements from character vector in r Code Example remove elements from character vector in r Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12