Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

list variables in dataframe r

ls(iris) # Returns array containing all variable names in the iris dataframe
# [1] "Petal.Length" "Petal.Width"  "Sepal.Length" "Sepal.Width"  "Species"    
 
PREVIOUS NEXT
Tagged: #list #variables #dataframe
ADD COMMENT
Topic
Name
7+8 =