E.T
1
I'm trying to invent data in R Studio but I get error reports.
Here is the code:
cats <- data.frame (coat = c ("calico", "black", "tabby"), weight = c (2.1, 5.0, 3.2) likes_string = c (1, 0, 1))
Error: unexpected symbol in "cats <- data.frame (coat = c ("calico", "black", "tabby"), weight = c (2.1, 5.0, 3.2) likes_string"
You are missing a comma:
cats <- data.frame (coat = c ("calico", "black", "tabby"), weight = c (2.1, 5.0, 3.2), likes_string = c (1, 0, 1))
system
Closed
3
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.