What is a way to access elements of vectors without indexing or naming?
Answer
Another way to access elements of a vector is by a sequence of logical true and false values that specify whether or not to return the corresponding element. For example, x[c(FALSE,TRUE,FALSE,TRUE)]
Tags
#bayes #programming #r #statistics
Question
What is a way to access elements of vectors without indexing or naming?
Answer
?
Tags
#bayes #programming #r #statistics
Question
What is a way to access elements of vectors without indexing or naming?
Answer
Another way to access elements of a vector is by a sequence of logical true and false values that specify whether or not to return the corresponding element. For example, x[c(FALSE,TRUE,FALSE,TRUE)]
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it Another way to access elements of a vector is by a sequence of logical true and false values that specify whether or not to return the corresponding element. For example, x[c(FALSE,TRUE,FALSE,TRUE)] also returns the vector 3.14, 47405
Original toplevel document (pdf)
owner: shihabdider - (no access) - Doing Bayesian Data Analysis, p47
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.