RjpWiki ã¯ãªã¼ãã³ã½ã¼ã¹ã®çµ±è¨è§£æã·ã¹ãã R ã«é¢ããæ
å ±äº¤æãç®çã¨ãã Wiki ã§ãè¡åã«é¢ãã Tips 大å
¨ è¡åã«é¢ããæä½ã¯ãR ããã¹ã¿ã¼ããåºæ¬ã§ããé¢é£ãã Tips ãè絡ãªãã§ããã ãéãããã¨æãã¾ãããæ°ã¥ãã®æ£çµ±æ´¾ã»è£æãã¯ããã¯ã ãå¯ããã ãããä¸é¨éè¤ã¯ããã好ã¾ããã¨æãã¾ãã è¦ç´ ãã¯ãã«ãä¸ãã¦è¡åãä½ã > m <- matrix(x, nrow=i, ncol=j, byrow=TRUE, dirnames=z) # ä¸è¬å½¢ nrow, ncol ã®ä¸æ¹ã ããä¸ããã¨(å¯è½ãªéã) x ã®ãµã¤ãºãããããä¸æ¹ãæé»ã®ãã¡ã«æ±ºå®ããã x ã®é·ããè¡åã®ãµã¤ãºã«è¶³ããªãã¨ãæåããããµã¤ã¯ã«ä½¿ç¨ããã > mm <- matrix(1:12, nrow=3, ncol=4) > mm <- matrix(1:12, nrow=3)
{{#tags}}- {{label}}
{{/tags}}