#bayes #programming #r #statistics
The elements of a vector can also, optionally, have names.Forexample,wecan name the elements of the vector x with the command, names(x)=c( "e" , "pi" , "sqrt2" , "zipcode" ) . Notice that the names are in quotes. Then we get at the components of the vector by specifying their names in square brackets. For example, x[c("pi","zipcode")] returns the vector 3.14, 47405 along with the names of those components
If you want to change selection, open document below and click on "Move attachment"
pdf
owner:
shihabdider - (no access) - Doing Bayesian Data Analysis, p47
Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details