how to use vector in R studio and solution used vector

#read dataset
data = read.csv("C:/Users/Aksen/Documents/data.csv", header = TRUE)

#melihat data
View(data)
str(data)

Atomic vector of type character.

print("Ya:Tidak");

Creating a sequence from 5 to 13.

v <- 1:2
print(v)

Accessing vector elements using position.

t <- c("Ya","Tidak")
u <- t[c(1,2)]
print(u)

i want to inquire about vectorsI want to ask about vectors I make data a question on google form then I want to process it with R studio when I'm in the ctree section it says he doesn't read the vector then I make it when I make a mistake that I don't understand Can I provide a solution for this

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.