| ²é¿´: 488 | »Ø¸´: 3 | ||
zxwinner½ð³æ (СÓÐÃûÆø)
|
[ÇóÖú]
R ÓïÑÔ±à³Ì ÈçºÎʵÏÖÒ»¸öº¯ÊýµÄ¹¦ÄÜ ÒÑÓÐ1È˲ÎÓë
|
|
ÈçºÎ¶¨ÒåÒ»¸öº¯Êý¿ÉÒÔ²úÉúÉ¢µãͼ£¿ make a function to generate a scatter plot of any two user-supplied arbitrary rows for the dataset. The three inputs will be the matrix, and the two columns to plot |
» ²ÂÄãϲ»¶
±±¿Æ281ѧ˶²ÄÁÏÇóµ÷¼Á
ÒѾÓÐ15È˻ظ´
274Çóµ÷¼Á
ÒѾÓÐ12È˻ظ´
Ò»Ö¾Ô¸ÖÐÄÏ´óѧ»¯Ñ§Ñ§Ë¶0703×Ü·Ö337Çóµ÷¼Á
ÒѾÓÐ7È˻ظ´
»¯Ñ§µ÷¼ÁÒ»Ö¾Ô¸ÉϺ£½»Í¨´óѧ336·Ö-±¾¿ÆÉϺ£211
ÒѾÓÐ3È˻ظ´
»úеѧ˶×Ü·Ö317Çóµ÷¼Á£¡£¡£¡£¡
ÒѾÓÐ4È˻ظ´
290·Öµ÷¼ÁÇóÖú
ÒѾÓÐ3È˻ظ´
275Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
²ÄÁÏÇóµ÷¼Á
ÒѾÓÐ3È˻ظ´
»¯Ñ§¹¤³Ì085602 305·ÖÇóµ÷¼Á
ÒѾÓÐ4È˻ظ´
07»¯Ñ§303Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
¡¶excel2010Ó¦ÓôóÈ«¡·¡¾×ªÔØ¡¿
ÒѾÓÐ10È˻ظ´
×¢²á»¯¹¤¹¤³ÌʦÐëÖª
ÒѾÓÐ23È˻ظ´
¡¾×ªÌû¡¿Delphi´úÂëµÄ±ê×¼·ç¸ñ
ÒѾÓÐ5È˻ظ´
FMStation
ÖÁ×ðľ³æ (ÖªÃû×÷¼Ò)
- Ó¦Öú: 591 (²©Ê¿)
- ¹ó±ö: 0.03
- ½ð±Ò: 18353.2
- ºì»¨: 97
- Ìû×Ó: 8891
- ÔÚÏß: 1490.3Сʱ
- ³æºÅ: 2400059
- ×¢²á: 2013-04-04
- רҵ: ¼ÆËã»úÓ¦Óü¼Êõ
2Â¥2016-10-17 22:42:09
zxwinner
½ð³æ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 1774.2
- É¢½ð: 119
- Ìû×Ó: 62
- ÔÚÏß: 50.4Сʱ
- ³æºÅ: 1807592
- ×¢²á: 2012-05-10
- רҵ: ÉúÎïÐÅϢѧ
|
ÏëÎÊÏ compositionÊÇʲôÒâ˼£¬²»Ì«Àí½âÎÊÌâÒªÈÃÎÒ¸Éʲô£¿ convert the variables in the matrix from function 1 to a composition in two different ways. The simplest way to do this is to divide each row value by its column sum. You may choose any two of the below methods. function1: randomdataset <- function(s, nr, m1, m2){ size <- s r <- matrix(data=NA, nrow=nr, ncol=s) for(i in 1:10){ r[,i] <- rnorm(nr, mean=m1, sd=5) } for(i in 1:5){ r[1:size,i] <- rnorm(size, mean=m2, sd=5) } return(r) } |
3Â¥2016-10-17 22:49:24
FMStation
ÖÁ×ðľ³æ (ÖªÃû×÷¼Ò)
- Ó¦Öú: 591 (²©Ê¿)
- ¹ó±ö: 0.03
- ½ð±Ò: 18353.2
- ºì»¨: 97
- Ìû×Ó: 8891
- ÔÚÏß: 1490.3Сʱ
- ³æºÅ: 2400059
- ×¢²á: 2013-04-04
- רҵ: ¼ÆËã»úÓ¦Óü¼Êõ
¡¾´ð°¸¡¿Ó¦Öú»ØÌû
¡ï ¡ï ¡ï ¡ï ¡ï
zxwinner: ½ð±Ò+5 2016-12-08 07:32:04
zxwinner: ½ð±Ò+5 2016-12-08 07:32:04
|
http://www.dictionary.com/browse/composition the act of combining parts or elements to form a whole. https://tw.dictionary.search.yah ... on&fr2=dict ºÏ³ÉÎ·ÂÔìÎï[C] convert the variables in the matrix: ·½·¨1. divide each row value by its column sum. ·½·¨2. for(i in 1:10){ r[,i] <- rnorm(nr, mean=m1, sd=5) } ·½·¨3. for(i in 1:5){ r[1:size,i] <- rnorm(size, mean=m2, sd=5) } |
4Â¥2016-10-18 21:56:32













»Ø¸´´ËÂ¥
6