I have trivial question: I couldn’t find a dictionary data structure in R, so I used list instead (like "word"->number).
So, how do I get the list of keys.
I have trivial question: I couldn’t find a dictionary data structure in R, so
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, the
listtype is a good approximation. You can usenames()on your list to set and retrieve the ‘keys’: