SyntaxFix
Write A Post
Hire A Developer
Questions
If you instead had a data.frame (df) that had multiple columns and you want to vectorize you can do
as.matrix(df, ncol=1)