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
On this page of the site you can watch the video online Create Vector with Intervals in R (2 Examples) | Specific Numeric Range | seq() & length() Functions with a duration of hours minute second in good quality, which was uploaded by the user Statistics Globe 24 May 2021, share the link with friends and acquaintances, this video has already been watched 1,611 times on youtube and it was liked by 19 viewers. Enjoy your viewing!