exists function in r (2 examples) | check if object is defined | data vector & function of package
Published 4 years ago • 439 plays • Length 4:00Download video MP4
Download video MP3
Similar videos
-
3:40
create vector with intervals in r (2 examples) | specific numeric range | seq() & length() functions
-
3:51
absolute value in r (2 examples) | abs function | convert vector & data matrix to positive values
-
3:32
identical function in r (example) | test data objects for exact equality | compare vector elements
-
4:09
all.equal function in r (example) | how to test if two objects are nearly equal | specify tolerance
-
3:14
count elements that satisfy a logical condition in r (2 examples) | how many entries? | sum function
-
3:16
test if vector contains certain element in r (example) | check for given value with %in% operator
-
4:08
test if list element exists in r (3 examples) | names, is.null & exists functions | %in%-operator
-
4:41
create named list in r (2 examples) | initialize new & build from vectors | setnames() & as.list()
-
5:49
intersect function in r (2 examples) | intersection of vectors & data frames | base r, dplyr package
-
3:12
find index of element in vector in r (2 examples) | match & which functions
-
3:22
range function in r (2 examples) | minimum & maximum of all arguments | numeric & character vectors
-
3:24
remove last n elements of vector in r (2 examples) | drop, delete, extract, select | head() function
-
3:38
combine two vectors into data frame or matrix in r (2 examples) | data.frame & cbind functions
-
2:46
check if column exists in data frame in r (example) | find variable name in data table or matrix
-
3:09
setdiff function in r (example) | identify different values of vectors | data comparison in rstudio
-
3:53
combine list of vectors to single vector in r (2 examples) | convert / transform | unlist & reduce
-
3:07
find unique combinations of all elements from two vectors in r (2 examples) | expand.grid & crossing
-
4:03
test for equality of all vector elements in r (example) | each value is the same | rep, var & unique
-
2:34
get last value of vector in r (2 examples) | extract / access bottom element of array