Create Vector with Intervals in R (2 Examples) | Specific Numeric Range | seq() & length() Functions

Publicado em: 24 Maio 2021
no canal de: Statistics Globe
1,611
19

How to create a vector containing numeric intervals in the R programming language. More details: https://statisticsglobe.com/create-ve...
R code of this video:

x1 < - seq(from = 100, # Applying seq function
to = 200,
by = 10)
x1 # Print vector with intervals

LETTERS # Print LETTERS object

x2 < - LETTERS[seq(from = 1, # Subset using seq function
to = length(LETTERS),
by = 5)]
x2 # Print subset of LETTERS

Follow me on Social Media:
Facebook:   / statisticsglobecom  
LinkedIn:   / statisticsglobe  
Patreon:   / statisticsglobe  
Pinterest: https://www.pinterest.de/JoachimSchork
Reddit:   / joachimschork  
Twitter:   / joachimschork  


Nesta página do site você pode assistir ao vídeo on-line Create Vector with Intervals in R (2 Examples) | Specific Numeric Range | seq() & length() Functions duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Statistics Globe 24 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,611 vezes e gostou 19 espectadores. Boa visualização!