R Series #3 All you need to know about Vectors in R

Опубликовано: 10 Апрель 2020
на канале: Bioinformatics for All
965
45

This video is a tutorial for programming in R Statistical Software for beginners and it's simply explained with a live workshop on RStudio. In this video, you will learn to answer these questions with an in-depth hands-on tutorial. :

1. What are the data structure types in R.
2. How to create scalars and vectors in R.
3. How to modify and delete a vector.

Documentation of this video is available on my R blog below

https://bioinfo4all.wordpress.com/202...

Share my Videos, leave me a comment, and give me a Like! Either way, Thank You!


#R #RStudio #scalars #vectors #learnR #stayathome #learnsomehtingnew

#Exercise 1:

firstname = "Barack"

lastname = "Obama"

paste(firstname, lastname)

address = "Let’s meet at the park"

address

#Exercise 2:

a = c(1, "A", "DNA", TRUE)

length(a)

#Exercise 3:

a = 1:10; a

#Exercise 4:

b = seq(1,50, by=5); b

c = seq(1,10, length.out=5); c

#Exercise 5:

a = c(1,5,10,20)

a[4]

a[c(1,4)]


#Exercise 6:

a = c(1,5,10,20)

a[4] = 30; a

#Exercise 7:

a = c(1,5,10,20)
a = NULL; a


Follow me on :

Facebook: @RlLearningseries
Twitter: @Bioinfo26656517
Instagram: @Bioinformaticsforall


Смотрите видео R Series #3 All you need to know about Vectors in R онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bioinformatics for All 10 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 965 раз и оно понравилось 45 людям.