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

Published: 10 April 2020
on channel: 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


Watch video R Series #3 All you need to know about Vectors in R online without registration, duration hours minute second in high quality. This video was added by user Bioinformatics for All 10 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 965 once and liked it 45 people.