Re: [R] [FORGED] how to draw the confidence interval

2017-03-05 Thread laomeng_3
this is not homework,just a case which I made by myself. ��ʦ On 2017-03-06 06:47 , Rolf Turner Wrote: On 04/03/17 19:39, laomeng_3 wrote: > hi all I have a question about drawing the confidence interval . > > For instance,if I want to sample 100 times,and each time,the sample > si

Re: [R] help

2017-03-05 Thread David Winsemius
> On Mar 4, 2017, at 10:00 AM, Nikhil Raj wrote: > > hello Team R, > i have been using R for statistical analysis of phylogeny and i have > installed the required packages phangorn and phytools but whenever i give > the command "pml.fit" the program stops and it appears thatb r for windows > GUI

Re: [R] Text cutoff in legends

2017-03-05 Thread Jim Lemon
Hi Burhan, I think you may have set records in both obscurity and brevity (watch out, Jeff). Undeterred, I will guess that you have positioned the legend so that it runs off the plot. Try adding the "xpd=TRUE" argument to the call to legend. Jim On Sun, Mar 5, 2017 at 10:56 AM, Burhan Mohamedali

Re: [R] (no subject)

2017-03-05 Thread Bert Gunter
Well, this is your 3rd post to appear here with no replies. At what point will you stop posting and realize that no one here is able or willing to answer your almost incomprehensible post? However, you might try to contact the package maintainer to see if this is a bug ( -- you **have the latest v

Re: [R] array - how to create "logical expression" for subset dynamically

2017-03-05 Thread Bert Gunter
A great example of why you need to read and follow the posting guide -- this is a plain text list: NO HTML. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic st

Re: [R] Error in curve 'expr' did not evaluate to an object of length 'n'

2017-03-05 Thread William Dunlap via R-help
You define a function called running.acf.max and then call plot(running.acf.max) R's plot, when given a function f, makes a plot of f(x) vs. x by calling curve(). Did you mean to plot the result of running.acf.max with its default arguments? That would be done with plot(running.acf.max())

Re: [R] List raster files

2017-03-05 Thread Robert Baer
On 3/4/2017 7:54 AM, Tomás Pérez C. wrote: I am working with raster images of modis of the satellites aqua and terra and I need to combine the images by its day and year (originally in Julian day). However, for the earth I have 6031 images and for aqua 5277. I want to know how to create an object

Re: [R] [FORGED] Error in curve 'expr' did not evaluate to an object of length 'n'

2017-03-05 Thread Rolf Turner
On 04/03/17 01:43, Allan Tanaka wrote: Please help. I try to re-produce R-script by plotting a set of functionWhen i running code: plot(Vectorize(running.acf.max))it gets the error message like this: Error in curve(expr = x, from = from, to = to, xlim = xlim, ylab = ylab, : 'expr' did not e

Re: [R] [FORGED] AED package

2017-03-05 Thread Rolf Turner
On 05/03/17 20:20, Ibrahim Salman wrote: Dear all, I am trying to run corvif command in R and apparently it needs AED package. Does anyone know where can I find this package ? Have you ever heard of "Google"? cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University

Re: [R] array - how to create "logical expression" for subset dynamically

2017-03-05 Thread Rolf Turner
On 04/03/17 06:59, exponential wrote: Hi! I've tried on SO, but without success. Maybe you will be able to help. I have the following array (I use 3-dimensional in this example for simplicity, but it can be 3+ dims - 10,11 or more): a <- c('a1', 'a2', 'a3') b <- c('bb', 'bbb') c <- c('C', 'CC',

Re: [R] [FORGED] how to draw the confidence interval

2017-03-05 Thread Rolf Turner
On 04/03/17 19:39, laomeng_3 wrote: hi all I have a question about drawing the confidence interval . For instance,if I want to sample 100 times,and each time,the sample size is 10,and the mean and sd is 15 and 1 respectively .I want to draw the 100 confidence intervals(as the attachment) .Which

[R] AED package

2017-03-05 Thread Ibrahim Salman
Dear all, I am trying to run corvif command in R and apparently it needs AED package. Does anyone know where can I find this package ? Thanks a lot, Ibrahim -- Ibrahim N. Salman ​ Master Student Prof. Yael Lubin's Lab Mitrani Department of Desert Ecology Ben-Gurion University of the Negev

[R] (no subject)

2017-03-05 Thread Nikhil Raj
hello Team R, i have been using R for statistical analysis of phylogeny and i have installed the required packages phangorn and phytools but whenever i give the command "pml.fit" the program stops and it appears thatb r for windows GUI has stopped etc.. previously i thought it was a fault in my com

[R] List raster files

2017-03-05 Thread Tomás Pérez C .
I am working with raster images of modis of the satellites aqua and terra and I need to combine the images by its day and year (originally in Julian day). However, for the earth I have 6031 images and for aqua 5277. I want to know how to create an object that selects the images for both folders wit

[R] Text cutoff in legends

2017-03-05 Thread Burhan Mohamedali
R adds cut tea e Excuse my brevity;to this message is sent from my iPhonequ __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/post

[R] regarding a problem in R

2017-03-05 Thread Nikhil Raj
hello Team R, i have been using R for statistical analysis of phylogeny and i have installed the required packages phangorn and phytools but whenever i give the command "pml.fit" the program stops and it appears thatb r for windows GUI has stopped etc.. previously i thought it was a fault in my com

Re: [R] Heatmap help

2017-03-05 Thread Patricia J. Hawkins
Hi, you have a couple of things going on here. You can reorder your matrix by creating an index like this: > A_index=c(grep(".A", colnames(A)), grep(".B", colnames(A))) and do this: > heatmap.2(A[,A_index], dendrogram="col", Rowv = colnames(A)[A_index], > tracecol = NA,col=bluered(64

[R] help

2017-03-05 Thread Nikhil Raj
hello Team R, i have been using R for statistical analysis of phylogeny and i have installed the required packages phangorn and phytools but whenever i give the command "pml.fit" the program stops and it appears thatb r for windows GUI has stopped etc.. previously i thought it was a fault in my com

Re: [R] R code helps needed!

2017-03-05 Thread SH
Hi Jim, I added more codes besides your original ones. I bet there should be simpler way(s) to do this but this is the best I can think of. Any feedback from you and others will be highly appreciated. Thanks a lot! Steve result<-read.table(text= "intercept decision expected.decision 1 r

[R] how to draw the confidence interval

2017-03-05 Thread laomeng_3
hi all I have a question about drawing the confidence interval . For instance,if I want to sample 100 times,and each time,the sample size is 10,and the mean and sd is 15 and 1 respectively .I want to draw the 100 confidence intervals(as the attachment) .Which function should be used to draw th

Re: [R] R code helps needed!

2017-03-05 Thread SH
Hi Jim, Thank you very much for replying back. I think the data I presented have not many 'pass' than I thought. The purpose of the code is to skip sampling for 5 consecutive rows when a previous row is found as 'pass'. Thus, because the fourth row is 'pass', sampling will be skipped next five

[R] array - how to create "logical expression" for subset dynamically

2017-03-05 Thread exponential
Hi! I've tried on SO, but without success. Maybe you will be able to help. I have the following array (I use 3-dimensional in this example for simplicity, but it can be 3+ dims - 10,11 or more): a <- c('a1', 'a2', 'a3') b <- c('bb', 'bbb') c <- c('C', 'CC', 'CCC') dimNa <- list('a' =

[R] Error in curve 'expr' did not evaluate to an object of length 'n'

2017-03-05 Thread Allan Tanaka
Please help. I try to re-produce R-script by plotting a set of functionWhen i running code: plot(Vectorize(running.acf.max))it gets the error message like this: Error in curve(expr = x, from = from, to = to, xlim = xlim, ylab = ylab,   :   'expr' did not evaluate to an object of length 'n' Even t