We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建議在此題目前 複習一下向量的names(我擔心忘記的人 看你的說明會看不懂)
| 在剛剛attributes(g)的輸出中,同學應該會看到一個帶有名字的list。所有物件的attributes都是帶有名字的list。 | 一個有趣的事情是,通常向量的名字,就是存放在"names"這個attributes的character向量。在R 中,我們可以用attr(g, | "names") 來取得名字是"names"的屬性。請同學試試看。
attributes(g)
attr(g, | "names")
The text was updated successfully, but these errors were encountered:
fix #43
09f20a8
No branches or pull requests
建議在此題目前 複習一下向量的names(我擔心忘記的人 看你的說明會看不懂)
| 在剛剛
attributes(g)
的輸出中,同學應該會看到一個帶有名字的list。所有物件的attributes都是帶有名字的list。| 一個有趣的事情是,通常向量的名字,就是存放在"names"這個attributes的character向量。在R 中,我們可以用
attr(g, | "names")
來取得名字是"names"的屬性。請同學試試看。The text was updated successfully, but these errors were encountered: