[R] R2wd
Hi all, I'm currently trying to get accustomed to R and some of its packages, thus need some help for a package called R2wd. As I am trying to use the wdGET() function I'm getting the following message: Error in if (!(tmp[[ActiveDocument]][[Name]] == filename)) tmp$Open(paste(path, : argument is of length zero Does anybody know what that means? Best, -- View this message in context: http://r.789695.n4.nabble.com/R2wd-tp3313527p3313527.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] About RedR and RKWard
It was interesting to play with RedR, thanks for mentioning it. On Aug 16, 2010, at 10:15 PM, Stephen Liu wrote: Hi folds, RedR - visual programming for R http://www.red-r.org/ Has any folk used RedR before? What will be the difference compared with; RKWard - GUI for R http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Main_Page Screen Short http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Screenshots TIA B.R. Stephen L __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] About RedR and RKWard
Not a problem. On Aug 16, 2010, at 11:49 PM, Stephen Liu wrote: Hi Rookie, Thanks for your info Stephen - Original Message From: Rookie rookie8...@gmail.com To: Stephen Liu sati...@yahoo.com Cc: r-help@r-project.org Sent: Tue, August 17, 2010 2:45:50 PM Subject: Re: [R] About RedR and RKWard I downloaded the Windows version. Although I have not played around with it long enough to give any meaningful feedback. At first glance, it seems that RedR would be a helpful tool to display some of the things that R is capable of doing. On Aug 16, 2010, at 11:30 PM, Stephen Liu wrote: Hi Rookie, You're running RedR on Linux OR on Windows? If on Windows whether you download it on its official website? Or on R ran; install.packages(RedR) ? If on Linux whether you install RedR on repo? B.R. Stephen L - Original Message From: Rookie rookie8...@gmail.com To: Stephen Liu sati...@yahoo.com Cc: r-help@r-project.org Sent: Tue, August 17, 2010 2:23:16 PM Subject: Re: [R] About RedR and RKWard It was interesting to play with RedR, thanks for mentioning it. On Aug 16, 2010, at 10:15 PM, Stephen Liu wrote: Hi folds, RedR - visual programming for R http://www.red-r.org/ Has any folk used RedR before? What will be the difference compared with; RKWard - GUI for R http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Main_Page Screen Short http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Screenshots TIA B.R. Stephen L __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] About RedR and RKWard
I downloaded the Windows version. Although I have not played around with it long enough to give any meaningful feedback. At first glance, it seems that RedR would be a helpful tool to display some of the things that R is capable of doing. On Aug 16, 2010, at 11:30 PM, Stephen Liu wrote: Hi Rookie, You're running RedR on Linux OR on Windows? If on Windows whether you download it on its official website? Or on R ran; install.packages(RedR) ? If on Linux whether you install RedR on repo? B.R. Stephen L - Original Message From: Rookie rookie8...@gmail.com To: Stephen Liu sati...@yahoo.com Cc: r-help@r-project.org Sent: Tue, August 17, 2010 2:23:16 PM Subject: Re: [R] About RedR and RKWard It was interesting to play with RedR, thanks for mentioning it. On Aug 16, 2010, at 10:15 PM, Stephen Liu wrote: Hi folds, RedR - visual programming for R http://www.red-r.org/ Has any folk used RedR before? What will be the difference compared with; RKWard - GUI for R http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Main_Page Screen Short http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Screenshots TIA B.R. Stephen L __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] plotting functions of chi square
x - seq(from = 0, to = 10, by = .01) plot(x, dchisq(x = x, df = 1), main = title, sub = subtitle, type = l, xlab = x-title, ylab = y-title, ylim = c(0, .4), col = red) lines(x, dchisq(x = x, df = 2), type = l, col = green) lines(x, dchisq(x = x, df = 3), type = l, col = blue) lines(x, dchisq(x = x, df = 4), type = l, col = pink) lines(x, dchisq(x = x, df = 5), type = l, col = darkgreen) On Aug 17, 2010, at 1:57 PM, maiya wrote: Hi! This is going to be a real newbie question, but I can't figure it out. I'm trying to plot densities of various functions of chi-square. A simple chi-square plot I can do with dchisq(). But e.g. chi.sq/degrees of freedom I only know how to do using density(rchisq()/df). For example: plot(1, type=n, xlab=, ylab=, xlim=c(0,2), ylim=c(0,7)) for (i in c(10,50,100,200,500)){ lines(density(rchisq(10,i)/i)) } But even with 100,000 samples the curves still aren't smooth. Surely there must be a more elegant way to do this? Thanks! Maja -- View this message in context: http://r.789695.n4.nabble.com/plotting-functions-of-chi-square-tp2329020p2329020.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Matrix Dimnames
Is there a way that I can specify the column names in the matrix function? Currently, below is the way I am doing it. x - matrix(c(15, 7, 20, 12, 25, 14, 30, 19, 35, 7, 15, 7, 20, 17, 25, 19, 30, 25, 35, 10, 15, 15, 20, 12, 25, 19, 30, 22, 35, 11, 15, 11, 20, 18, 25, 18, 30, 19, 35, 15, 15, 9, 20, 18, 25, 18, 30, 23, 35, 11), nrow=25, byrow=TRUE) colnames(x) - c(Cotton, Observations) x __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Matrix
How do I completely remove the first column? (x - matrix(c(1, 44, 124, 80, 254, 70, 190, 0, 2, 35, 110, 70, 240, 73, 216, 0, 3, 41, 114, 80, 279, 68, 178, 0, 4, 31, 100, 80, 284, 68, 149, 0, 5, 61, 190, 110, 315, 68, 182, 1, 6, 61, 130, 88, 250, 70, 185, 0, 7, 44, 130, 94, 298, 68, 161, 0, 8, 58, 110, 74, 384, 67, 175, 0, 9, 52, 120, 80, 310, 66, 144, 0, 10, 52, 120, 80, 337, 67, 130, 0, 11, 52, 130, 80, 367, 69, 162, 0, 12, 40, 120, 90, 273, 68, 175, 0, 13, 49, 130, 75, 273, 66, 155, 0, 14, 34, 120, 80, 314, 74, 156, 0, 15, 37, 115, 70, 243, 65, 151, 0, 16, 63, 140, 90, 341, 74, 168, 0, 17, 28, 138, 80, 245, 70, 185, 0, 18, 40, 115, 82, 302, 69, 225, 0, 19, 51, 148, 110, 302, 69, 247, 1, 20, 33, 120, 70, 386, 66, 146, 0, 21, 37, 110, 70, 312, 71, 170, 1, 22, 33, 132, 90, 302, 69, 161, 0, 23, 41, 112, 80, 394, 69, 167, 0, 24, 38, 114, 70, 358, 69, 198, 0, 25, 52, 100, 78, 336, 70, 162, 0, 26, 31, 114, 80, 251, 71, 150, 0, 27, 44, 110, 80, 322, 68, 196, 1, 28, 31, 108, 70, 281, 67, 130, 0, 29, 40, 110, 74, 336, 68, 166! , 1, 30, 36, 110, 80, 314, 73, 178, 0, 31, 42, 136, 82, 383, 69, 187, 0, 32, 28, 124, 82, 360, 67, 148, 0, 33, 40, 120, 85, 369, 71, 180, 0, 34, 40, 150, 100, 333, 70, 172, 0, 35, 35, 100, 70, 253, 68, 141, 0, 36, 32, 120, 80, 268, 68, 176, 0, 37, 31, 110, 80, 257, 71, 154, 0, 38, 52, 130, 90, 474, 69, 145, 0, 39, 45, 110, 80, 391, 69, 159, 1, 40, 39, 106, 80, 248, 67, 181, 0, 41, 40, 130, 90, 520, 68, 169, 1, 42, 48, 110, 70, 285, 66, 160, 1, 43, 29, 110, 70, 352, 66, 149, 0, 44, 56, 141, 100, 428, 65, 171, 1, 45, 53, 90, 55, 334, 68, 166, 0, 46, 47, 90, 60, 278, 69, 121, 0, 47, 30, 114, 76, 264, 73, 178, 0, 48, 64, 140, 90, 243, 71, 171, 1, 49, 31, 130, 88, 348, 72, 181, 0, 50, 35, 120, 88, 290, 70, 162, 0, 51, 65, 130, 90, 370, 65, 153, 1, 52, 43, 122, 82, 363, 69, 164, 0, 53, 53, 120, 80, 343, 71, 159, 0, 54, 58, 138, 82, 305, 67, 152, 1, 55, 67, 168, 105, 365, 68, 190, 1, 56, 53, 120, 80, 307, 70, 200, 0, 57, 42, 134, 90, 243, 67, 147, 0, 58, 43, 115, 75, 266, 68, 125,! 0, 59, 52, 110, 75, 341, 69, 163, 0, 60, 68, 110, 80, 268, 62, 138, 0 , 61, 64, 105, 68, 261, 66, 108, 0, 62, 46, 138, 90, 378, 67, 142, 0, 63, 41, 120, 90, 279, 70, 212, 0, 64, 58, 130, 90, 416, 68, 188, 0, 65, 50, 160, 110, 261, 66, 145, 0, 66, 45, 100, 70, 332, 67, 144, 0, 67, 59, 156, 90, 337, 67, 158, 0, 68, 56, 120, 92, 365, 65, 154, 0, 69, 59, 126, 96, 292, 67, 148, 0, 70, 47, 110, 80, 304, 67, 155, 0, 71, 43, 95, 70, 341, 69, 154, 0, 72, 37, 120, 74, 317, 74, 184, 0, 73, 27, 100, 60, 296, 67, 140, 0, 74, 44, 110, 80, 390, 66, 167, 0, 75, 41, 120, 80, 274, 69, 138, 0, 76, 33, 120, 80, 355, 68, 169, 0, 77, 29, 115, 80, 225, 70, 186, 0, 78, 24, 120, 80, 218, 69, 131, 0, 79, 36, 108, 66, 298, 67, 160, 0, 80, 23, 110, 78, 178, 66, 142, 0, 81, 47, 120, 80, 341, 70, 218, 1, 82, 26, 110, 75, 274, 70, 147, 0, 83, 45, 130, 90, 285, 65, 161, 0, 84, 41, 164, 110, 259, 66, 245, 0, 85, 55, 125, 88, 266, 67, 167, 0, 86, 34, 110, 80, 214, 67, 139, 1, 87, 51, 110, 75, 267, 66, 150, 0, 88, 58, 120, 80, 256, 67, 175, 0, 89, 51, 118, 88, 273, 64, 123, 0, ! 90, 35, 110, 75, 348, 72, 174, 0, 91, 34, 118, 78, 322, 69, 192, 0, 92, 26, 120, 70, 267, 70, 140, 0, 93, 25, 110, 75, 270, 74, 195, 0, 94, 44, 100, 70, 280, 65, 144, 0, 95, 57, 130, 85, 320, 69, 193, 0, 96, 67, 110, 80, 320, 64, 134, 0, 97, 59, 160, 90, 330, 63, 144, 0, 98, 62, 130, 88, 274, 69, 179, 0, 99, 40, 140, 90, 269, 63, 111, 0, 100, 52, 120, 90, 269, 68, 164, 0, 101, 28, 130, 80, 135, 67, 168, 0, 102, 34, 115, 80, 403, 69, 175, 0, 103, 43, 122, 78, 294, 68, 173, 0, 104, 38, 125, 80, 312, 71, 158, 0, 105, 45, 110, 80, 311, 69, 154, 0, 106, 26, 120, 84, 222, 72, 214, 0, 107, 35, 112, 90, 302, 67, 176, 0, 108, 51, 120, 90, 269, 70, 262, 0, 109, 55, 120, 82, 311, 71, 181, 0, 110, 45, 130, 90, 286, 73, 143, 0, 111, 69, 160, 90, 370, 67, 185, 1, 112, 58, 140, 90, 403, 66, 140, 0, 113, 64, 190, 100, 244, 66, 187, 0, 114, 70, 190, 112, 353, 66, 163, 0, 115, 27, 112, 78, 252, 68, 164, 0, 116, 53, 155, 104, 453, 66, 170, 0, 117, 28, 115, 65, 260, 66, 150, 0, 118, 29, 110, 8! 0, 269, 68, 141, 0, 119, 23, 120, 82, 235, 65, 135, 0, 120, 40, 120, 7 8, 264, 71, 135, 0, 121, 53, 160, 90, 420, 67, 141, 0, 122, 25, 110, 75, 235, 69, 148, 0, 123, 63, 130, 90, 420, 69, 160, 1, 124, 48, 110, 78, 277, 71, 180, 1, 125, 36, 120, 80, 319, 70, 157, 0, 126, 28, 120, 86, 386, 70, 189, 1, 127, 57, 110, 68, 353, 71, 166, 0, 128, 39, 110, 80, 344, 66, 175, 0, 129, 52, 130, 90, 210, 65, 172, 1, 130, 51, 140, 90, 286, 67, 134, 0, 131, 37, 120, 90, 260, 67, 188, 0, 132, 28, 110, 75, 252, 67, 149, 0, 133, 44, 120, 90, 336, 72, 175, 0, 134, 35, 100, 70, 216, 66, 126, 0, 135, 41, 100, 65, 208, 69, 165, 0, 136, 29, 120, 80, 352, 68, 160, 0, 137, 46, 125, 90, 346, 63, 155, 0, 138, 55, 148, 90, 259, 71, 140, 0, 139, 32, 100, 70, 290, 70, 181, 0, 140, 40, 125, 90, 239, 67, 178, 0, 141, 61, 154, 80, 333, 66, 141, 0, 142, 29, 100, 60, 173, 69, 143,
[R] Might be useful
I came across this site and thought to pass it along http://www.rseek.org/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.