[R] Passing Bablok

2009-04-27 Thread botto
Hi, is there any R-package providing a Passing Bablok regression procedure? This Question seems to have occurred once or twice before, but I never saw an answer to the previous inquiries. Best regards Benjamin Otto == Benjamin Otto University

[R] Fast fourier transformation

2009-02-10 Thread botto
Hi, here is a practical problem we would like to solve. In a pneumatic post the acceleration of the capsule is measured and plotted over time. From the graph achieved we would like to derive some kind of statistic value that describes the stress the capsule, or what is in it, is exhibited to.

[R] graphical distance matrix

2013-01-09 Thread eliza botto
Dear R-family, I made a distance matrix of about 2000 stations. its extremely hard to visualize the details of that matrix. I heard that there is a way in R to represent the details of distance matrix graphically. more precisely, different sections of our distance matrix can be presented in

Re: [R] merging command

2013-01-10 Thread eliza botto
365 419 420 346 472 489 A.K. From: eliza botto eliza_bo...@hotmail.com To: smartpink...@yahoo.com smartpink...@yahoo.com Sent: Thursday, January 10, 2013 9:13 AM Subject: merging command Dear Arun, i need you expertise to merge

[R] locating element in distance matrix

2013-01-11 Thread eliza botto
Dear useRs, I have a very basic question. I have a distance matrix and i skipped the upper part of it deliberately. The distance matrix is 1000*1000. Then i used min command to extract the lowest value from that matrix. Now i want to know what is the location of that lowest element? More

Re: [R] locating element in distance matrix

2013-01-11 Thread eliza botto
Associate Professor of Anthropology Texas AM University College Station, TX 77843-4352 -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Friday, January 11, 2013 4:21 PM To: dcarl...@tamu.edu Cc: 'eliza botto'; r-help@r-project.org Subject

[R] Empirical copula density

2013-01-24 Thread eliza botto
Dear useRs, Sorry for such a stupid question. But i cant live without asking it. Actually, I was going through copula package in R. I needed to know that if there is a way in R to calculate the emipirical copula density between two random variables and plot it like the way we do in

[R] joint probability distribution

2013-01-25 Thread eliza botto
Dear R family, I want to calculate the joint probability (distribution) of two random continuous variables X and Y. Could to please tell me how to do it?Thanks in advance.. elisa [[alternative HTML version deleted]]

[R] weibull pp

2013-01-29 Thread eliza botto
Dear R-user, I have two separate independent events. More precisely, i have data of discharged patients from two separate hospitals on each day of a certain year. For each hospital i calculated the non-exceedance probability by using weibull plot position which should be marginal probability

[R] lower corner cumulative probability

2013-01-31 Thread eliza botto
Dear useRs, With the following set of command i managed to create the copula density library(MASS) library(evd) X-matrix(sample(1:3000), ncol=2) U=cbind(rank(X[,1])/(nrow(X)+1),rank(X[,2])/(nrow(X)+1)) mat1=kde2d(U[,1],U[,2],n=150)

[R] Fortan to R

2013-02-02 Thread eliza botto
Dear UseRs, How can i connect my FTN95 fortran compiler with R in window 7?Thanks in Advance, Elisa [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] FORMAT EDITING

2013-02-11 Thread eliza botto
Dear R users,[IF THE FORMAT OF MY EMAIL IS NOT CLEAR, I HAVE ATTACHED A TEXT FILE FOR A CLEAR VIEW] I would like to use the R output file in Fortran. my file Is exactly in the following format. ELISA/BOTTO wATER INN FROM 1900 11 1 TO 1996 12 31 1901.11. 1 447.000 1901.11. 2

Re: [R] FORMAT EDITING

2013-02-11 Thread eliza botto
a single character. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 2/11/13 8:41 AM, eliza botto eliza_bo...@hotmail.com wrote: Dear R users,[IF THE FORMAT OF MY EMAIL IS NOT CLEAR, I HAVE ATTACHED

[R] combining column having same values

2013-03-06 Thread eliza botto
Dear useRs, I have a matrix in the following form [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] 1 1 3 2 3 1 1 2 3 3 2 and following is my desired output (combining the column headers, having same

[R] Error: no 'dimnames' attribute for array

2013-03-07 Thread eliza botto
Dear XpeRts, I prepared a no qoute Character string by the following command s-noquote(paste (b1, collapse=,)) where, b1 is the vector of 24 intergers. dput(b1) c(1L, 2L, 6L, 7L, 12L, 16L, 17L, 20L, 21L, 23L, 25L, 34L, 46L, 48L, 58L, 64L, 65L, 68L, 82L, 97L, 98L, 101L, 113L, 115L)

Re: [R] Error: no 'dimnames' attribute for array

2013-03-07 Thread eliza botto
@r-project.org On Thu, Mar 7, 2013 at 11:02 AM, eliza botto eliza_bo...@hotmail.com wrote: Dear XpeRts, I prepared a no qoute Character string by the following command s-noquote(paste (b1, collapse=,)) where, b1 is the vector of 24 intergers. dput(b1) c(1L, 2L, 6L, 7L, 12L

Re: [R] Error: no 'dimnames' attribute for array

2013-03-07 Thread eliza botto
, eliza botto eliza_bo...@hotmail.com wrote: Thankyou very much M. Weylandt. i was actually more interested in knowing about the error. Let's talk you through it then: As you said before you have b1 - c(1L, 2L, 6L, 7L, 12L, 16L, 17L, 20L, 21L, 23L, 25L, 34L, 46L, 48L, 58L, 64L, 65L, 68L

[R] Log-normal probability plot

2012-06-03 Thread eliza botto
Dear R users, You can literally safe my life my telling me the solution of my problem. I have created matrix of a data frame with 3 columns, with each column representing data of different year. 2 1 5 3 4 4 4 3

[R] reduced variate in R

2012-06-03 Thread eliza botto
Dear R users, is there a way in R to calculate normal reduced variate?? eliza [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] reduced variate in R

2012-06-03 Thread eliza botto
: r-help@r-project.org To: eliza_bo...@hotmail.com On Jun 3, 2012, at 17:57 , eliza botto wrote: Dear R users, is there a way in R to calculate normal reduced variate?? Yes. It depends on what you mean, though. AFAICT reduced is just what others call standard normal (mean 0

[R] Variate

2012-06-03 Thread eliza botto
for each station, on same coordinate axis. Kindly help us on that. We are all very new to R. Eliza botto Waters Inn CC: r-help@r-project.org From: dwinsem...@comcast.net To: eliza_bo...@hotmail.com Subject: Re: [R] Log-normal probability plot Date: Sun, 3 Jun 2012 13:11:35 -0400

Re: [R] Variate

2012-06-04 Thread eliza botto
stricktly want normal reduced variant on x-axis. i hope you will cooperate. eliza botto waters inn Date: Mon, 4 Jun 2012 11:54:11 +1000 To: r-help@r-project.org From: mac...@northnet.com.au Subject: Re: [R] Variate Hi Eliza You will not want 1 panel with 96 lines - too confusing after about

[R] Spliting Lists into matrices

2012-06-04 Thread eliza botto
365 readings and some have 366(due to leap year). Now I want to split lists into two different matrices, one containing leap years and other with normal years. I hope you will be kind enough to help me as you did before. Eliza Botto Waters Inn Date: Mon, 4 Jun 2012 10:51:49 +0100 From

Re: [R] Spliting Lists into matrices

2012-06-04 Thread eliza botto
-06-2012 21:41, eliza botto escreveu: Dear Rui Barradas, Mackay and all R Users, Thankyou very much for your reply. You helped me a lot. I got what I wanted. I just want one more favor from you, if you could. Suppose I have certain number of lists of data frame, say 50. Each

Re: [R] Spliting Lists into matrices

2012-06-04 Thread eliza botto
, length) i1 - which(xlen == 365) i2 - which(xlen == 366) mat365 - matrix(unlist(x[i1]), nrow=365) mat366 - matrix(unlist(x[i2]), nrow=366) Hope this helps, Rui Barradas Em 04-06-2012 22:46, eliza botto escreveu: i realy appreciate your concern.. here is a small piece of my data

Re: [R] Spliting Lists into matrices

2012-06-04 Thread eliza botto
Dear R users, we generally apply approx() command to a list data. how can we apply this command to a matrix, so that we can approximate 366 readings from certain number of each column over 365 intervals?? hope i am clear in my statement. eliza botto From: eliza_bo...@hotmail.com

[R] Spliting Lists into matrices

2012-06-04 Thread eliza botto
of a matrix, over 365 days. hope i am clear in my statement. eliza botto From: eliza_bo...@hotmail.com To: ruipbarra...@sapo.pt Date: Mon, 4 Jun 2012 22:13:10 + CC: r-help@r-project.org Subject: Re: [R] Spliting Lists into matrices dear rui, lots of hugs for you

[R] approximating matrix columns

2012-06-04 Thread eliza botto
of a matrix, over 365 days. hope i am clear in my statement. eliza botto From: eliza_bo...@hotmail.com To: ruipbarra...@sapo.pt Date: Mon, 4 Jun 2012 22:13:10 + CC: r-help@r-project.org Subject: Re: [R] Spliting Lists into matrices dear rui, lots

[R] approximating matrix columns

2012-06-05 Thread eliza botto
Dear Gunter Berton and all, As you can see, my data has three lists each containing 366 entries. I converted them into the matrix. I now want to approx./interpolate 366 entries over 365 intervals, Which means I want to have a matrix with 365 entries. I used approx(matrix,

Re: [R] approximating matrix columns

2012-06-05 Thread eliza botto
Dear Rui, i am greatful for everything you did. bret advised me to use dput(), which i did. yes! i forgot to complement him. i literally feel sorry for that. i hope you wont mind and continue extending your help. regards and love for every one eliza botto waters inn Date: Tue, 5 Jun 2012 12

[R] estimating NA values against selected slots

2012-07-06 Thread eliza botto
Dear R Users, Could you please help me on the following issue? I have a real large yearly data set. For each year I have 365 flow values. Some of the flow values are not known and that’s why you will see NA written in those slots. I wanted to know, is there a way that I can estimate those

[R] modified ward's method

2012-09-14 Thread eliza botto
Dear R users, is there a package in R, where one can use modified ward's method for distance measurement?? thnx in advance regards eliza [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] modified ward's method

2012-09-14 Thread eliza botto
: maitra.mbox.igno...@inbox.com To: r-help@r-project.org Subject: Re: [R] modified ward's method Sorry but what is modified Ward's method? I am guessing this has to do with hierarchical clustering. Ranjan On Fri, 14 Sep 2012 16:09:00 + eliza botto eliza_bo...@hotmail.com wrote: Dear R

[R] self defined distance matrix in NbClust

2012-09-16 Thread eliza botto
fustrating. kind regards eliza botto [[alternative HTML version deleted]] __ 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

[R] extracting column and regular interval in R

2012-09-18 Thread eliza botto
Dear R users, i have a matrix with 31 rows and 444 columns and i want to extract every 37th column of that matrix starting from 1. more precisely i want to select columns 1, 38,75, 112 and so on. then doing the same by starting from column number 2(2,39,76,113...). i know that there is a

Re: [R] extracting column and regular interval in R

2012-09-18 Thread eliza botto
work its magic! To concretize: x - 1:100 x[c(TRUE, rep(FALSE, 4))] Cheers, Michael On Tue, Sep 18, 2012 at 3:55 PM, eliza botto eliza_bo...@hotmail.com wrote: Dear R users, i have a matrix with 31 rows and 444 columns and i want to extract every 37th column of that matrix

Re: [R] extracting column and regular interval in R

2012-09-18 Thread eliza botto
thankyou Berend. regards eliza Subject: Re: [R] extracting column and regular interval in R From: b...@xs4all.nl Date: Tue, 18 Sep 2012 17:43:15 +0200 CC: r-help@r-project.org To: eliza_bo...@hotmail.com On 18-09-2012, at 16:55, eliza botto wrote: Dear R users, i have

[R] extracting column at regular intervals starting from different columns

2012-09-18 Thread eliza botto
, Sep 18, 2012 at 3:55 PM, eliza botto eliza_bo...@hotmail.com wrote: Dear R users, i have a matrix with 31 rows and 444 columns and i want to extract every 37th column of that matrix starting from 1. more precisely i want to select columns 1, 38,75, 112 and so on. then doing

[R] fourier series for finding average values

2012-09-20 Thread eliza botto
Dear UseRs, i have a matrix of 365 rows and 444 columns. i drew each column of this matrix against the number of days in a year, which are obviously 365. now i have 444 curves and i want to Use Fourier analysis for the approximation of the average values. does anyone know how to do it? any

[R] efficient overlapping average curve on original curves

2012-09-21 Thread eliza botto
in no overlapped the original curves. can any1 advise me what to do? thanks in advance for you time. eliza botto [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] efficient overlapping average curve on original curves

2012-09-22 Thread eliza botto
Dear Arun, Rui and David, thankyou very much. i learnt alot from your replies. eliza botto Date: Fri, 21 Sep 2012 18:58:18 -0700 From: smartpink...@yahoo.com To: ruipbarra...@sapo.pt CC: r-help@r-project.org Subject: Re: [R] efficient overlapping average curve on original curves HI

[R] [ reached getOption(max.print) -- omitted 138 rows]

2012-09-24 Thread eliza botto
Dear useRs, does anyonw now how to avoid [ reached getOption(max.print) -- omitted 138 rows]. i read from the R forum that it can be avoided by increasing the 'max.print' option as much as i like, but i dnt know, how?? need your help on it. regards eliza

Re: [R] [ reached getOption(max.print) -- omitted 138 rows]

2012-09-24 Thread eliza botto
to access and set the max.print option, and all the other options that R has. Sarah On Mon, Sep 24, 2012 at 1:08 PM, eliza botto eliza_bo...@hotmail.com wrote: Dear useRs, does anyonw now how to avoid [ reached getOption(max.print) -- omitted 138 rows]. i read from the R forum that it can

[R] modified Ward method

2012-09-29 Thread eliza botto
Dear useRs,Is there a command or package in R to do heirarchical clustering by modified ward method??regardseliza [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] loop for column substraction of a matrix

2012-10-05 Thread eliza botto
Dear useRs, I have a matrix with 38 columns and 365 rows. what i want to do is the following. 1. subtracting from each column, first itself and then all the remaining columns. More precisely, from column number 1, i will first subtract itself(column 1) and then the remaining 37 columns.

Re: [R] loop for column substraction of a matrix

2012-10-05 Thread eliza botto
,sum #or res1-sapply(1:ncol(mat1), function(i) mat1[,i]-apply(mat1,1,sum)) #or res1-mapply(FUN=function(i) mat1[,i]-rowSums(mat1), 1:ncol(mat1)) A.K - Original Message - From: eliza botto eliza_bo...@hotmail.com To: r-help@r-project.org r-help@r-project.org Cc: Sent

[R] dist based kmeans clustering

2012-10-07 Thread eliza botto
Dear useRs, i have a matrix X and i generated a distance matrix of X, let us call it Y. I did hierarchical clustering of Y and got some results. I just wanted to know that can i use the same distance matrix Y in Kmeans clustering? If not, then how can i use my own distance matrix for kmeans

[R] Error in if (is.na(n) || n 65536L) stop(size cannot be NA nor exceed 65536) : missing value where TRUE/FALSE needed

2012-10-09 Thread eliza botto
Dear useRs, i am using NbClust to determine appropriate number of cluster for hclustering. i am consistently getting the following error Error in if (is.na(n) || n 65536L) stop(size cannot be NA nor exceed 65536) : missing value where TRUE/FALSE needed Does any one know where i am

Re: [R] Error in if (is.na(n) || n 65536L) stop(size cannot be NA nor exceed 65536) : missing value where TRUE/FALSE needed

2012-10-09 Thread eliza botto
, 2012 at 4:37 PM, eliza botto eliza_bo...@hotmail.com wrote: Dear useRs, i am using NbClust to determine appropriate number of cluster for hclustering. i am consistently getting the following error Error in if (is.na(n) || n 65536L) stop(size cannot be NA nor exceed 65536

[R] median between matrix column

2012-10-15 Thread eliza botto
Dear useRs, 1.how to calculate single median value for two columns of a matrix? 2.i have a matrix of 16 columns and 365 rows, how to calculate median between columns 1 and 16, 2 and 16, 3 and 16, 4 and 16, 5 and 16 till 15th column. is there a loop command to do the said operation?

Re: [R] median between matrix column

2012-10-15 Thread eliza botto
,] 212.0 #[7,] 228.5 #[8,] 233.0 #[9,] 182.5 #[10,] 239.5 #[11,] 233.5 #[12,] 220.0 #[13,] 235.0 #[14,] 259.0 #[15,] 227.0 A.K. - Original Message - From: eliza botto eliza_bo...@hotmail.com To: r-help@r-project.org r-help@r-project.org Cc: Sent: Monday, October 15

[R] regression analysis in R

2012-10-26 Thread eliza botto
Dear useRs, i have vectors of about 27 descriptors, each having 703 elements. what i want to do is the following 1. i want to do regression analysis of these 27 vectors individually, against a dependent vector, say B, having same number of elements.2. i would like to know best 10 regression

Re: [R] regression analysis in R

2012-10-27 Thread eliza botto
now. reply like yours, simply wont help. anyway, thanks for your advice. eliza Date: Fri, 26 Oct 2012 16:36:27 -0700 From: ehl...@ucalgary.ca To: eliza_bo...@hotmail.com CC: r-help@r-project.org Subject: Re: [R] regression analysis in R On 2012-10-26 13:00, eliza botto wrote: Dear useRs

[R] In is.euclid(m2) : Zero distance(s)

2012-10-28 Thread eliza botto
Dear useRs,i am applying mantel test to find the correlation between distance matrices, by ade4 package. some of the correlations, although given me r-values, have shown following warning message.. In is.euclid(m2) : Zero distance(s) i wanted to know that why has this message prompted? although

[R] coping zeros from matrix to another

2013-05-19 Thread eliza botto
Dear useRs,i have two distance matrices A and B. The distances in A are linked with distances in B. What i want to do is the following...There are some points in A where distances are zero(those points are apart from usual diagonal of zero values).Whereas, in B the distances at those points are

Re: [R] coping zeros from matrix to another

2013-05-19 Thread eliza botto
= 4) B - matrix(1:16, ncol = 4) zeros - which(A == 0, arr.ind = TRUE) B[zeros] - 0 Hope this helps, Rui Barradas Em 19-05-2013 22:05, eliza botto escreveu: Dear useRs,i have two distance matrices A and B. The distances in A are linked with distances in B. What i want to do

Re: [R] coping zeros from matrix to another

2013-05-19 Thread eliza botto
...@yahoo.com To: eliza botto eliza_bo...@hotmail.com Cc: R help r-help@r-project.org Sent: Sunday, May 19, 2013 5:48 PM Subject: Re: [R] coping zeros from matrix to another May be this helps: set.seed(28) mat1- matrix(sample(0:50,20,replace=TRUE),nrow=5) A- dist(mat1) A[2:4]- 0

[R] Distance calculation

2013-05-23 Thread eliza botto
Dear useRs, i have the following data arranged in three columns structure(c(0.492096635764151, 0.42688044914, 0.521585941816778, 1.66472272302545, 2.61878329527404, 2.19154489521664, 0.493876245329722, 0.4915787202584, 0.889477365620806, 0.609135860199222, 0.739201878930367,

[R] Continuous columns of matrix

2013-05-24 Thread eliza botto
Dear useRs,If i have a matrix, say, 12 rows and 6 columns. The columns are continuous. I want to find the index of maximum values and the actual maximum values. The maximum values in each column are the highest values and the values greater than or equal to 80% of the maximum value. Moreover,

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
...@xs4all.nl Date: Fri, 24 May 2013 12:36:47 +0200 CC: r-help@r-project.org To: eliza_bo...@hotmail.com On 24-05-2013, at 12:24, eliza botto eliza_bo...@hotmail.com wrote: Dear useRs,If i have a matrix, say, 12 rows and 6 columns. The columns are continuous. I want to find the index

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
that the result comes with the maximum first and the others follow. Hope this helps, Rui Barradas Em 24-05-2013 11:41, eliza botto escreveu: There you go!!! structure(c(0.706461987893674, 0.998391468394261, 0.72402995269242, 1.70874688194537, 1.93906363083693, 0.89540353128442

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
:40, eliza botto escreveu: Dear Rui,Thankyou very much for your help. just for my own knowledge what if want the values and index, which are less than or equal to 80% of the maximum value other than those in the neighbors?? like if maximum is in row number 5 of any column then the second

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
*x[imx]) values - x[index] list(index = index, values = values) } apply(mat, 2, fun2) Rui Barradas Em 24-05-2013 16:23, eliza botto escreveu: Dear Rui, I infact wanted to have something like the following.. suppose the columns are structure(c(0.706461987893674

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
. - Original Message - From: eliza botto eliza_bo...@hotmail.com To: Berend Hasselman b...@xs4all.nl Cc: r-help@r-project.org r-help@r-project.org Sent: Friday, May 24, 2013 6:41 AM Subject: Re: [R] Continuous columns of matrix There you go!!! structure(c(0.706461987893674

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
- which(x = 0.8*x[imx]) values - x[index] list(index = index, values = values) } apply(mat, 2, fun2) Rui Barradas Em 24-05-2013 16:23, eliza botto escreveu: Dear Rui, I infact wanted to have something like the following.. suppose the columns are structure(c

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of eliza botto Sent: Friday, May 24, 2013 2:10 PM To: ruipbarra...@sapo.pt; r-help@r-project.org Subject: Re: [R] Continuous columns of matrix Dear Rui, Regarding

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
Value 1 5 1.463772 211 1.494151 Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of eliza botto Sent: Friday, May 24, 2013 2:10 PM To: ruipbarra

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
IndexValue 1 5 1.463772 211 1.494151 Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of eliza botto Sent: Friday, May 24, 2013 2:10 PM

Re: [R] Continuous columns of matrix

2013-05-24 Thread eliza botto
1.939064 212 1.791503 $`2` IndexValue 1 5 1.508740 211 1.670409 $`3` IndexValue 1 5 1.463772 211 1.494151 $`4` IndexValue 112 2.245474 $`5` IndexValue 1 6 1.592817 A.K. From: eliza botto

Re: [R] Continuous columns of matrix

2013-05-25 Thread eliza botto
) ret } } It does require a test for all of x being above the threshold, which f didn't need. You could put the test in f and take it out of fCyclic. Again, use apply() if you to want to run it over each column. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com From: eliza botto

Re: [R] QA

2013-05-25 Thread eliza botto
. From: eliza botto eliza_bo...@hotmail.com To: smartpink...@yahoo.com smartpink...@yahoo.com Sent: Saturday, May 25, 2013 9:17 PM Subject: RE: QA thanks arun, i dont think thANKyou is enough for wat u did. anyway, there is slight modification that i want to ask to understand the codes

[R] regression in 3D space

2013-06-18 Thread eliza botto
Dear UseRs,I need to know that is there a way in R for a 3D regression analysis?i actually have a data in 3 dimensional space showing differences between regimes in 3D space and i want to do its regression analysis with another data which is also in 3D space. thanks in advance for your help,

[R] distance matrix and hclustering

2012-07-30 Thread eliza botto
river(a,b,c,d) splitted in clusters with river having similar discharge patterns in one cluster. thnx in advanceeliza botto [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] stopping rule in hierarchical Clustering

2012-08-10 Thread eliza botto
in advance Regards Eliza botto [[alternative HTML version deleted]] __ 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

[R] Index Values in NbClust

2012-08-12 Thread eliza botto
in advance Eliza Botto dput(Eliza)structure(list(All.index = structure(c(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1.57420409872312, 18.4369535290079, 0.575306409776012, 0.154801385171855, 47.0366288760456, 0.445872832260952, 0.455568929239984, 12.5788269491759, 0.0386469849302515

[R] open unknown file format in R

2014-03-17 Thread eliza botto
Dear R-Family, I have just downloaded a massive data file from internet (AphroJP_62STN_V1005.1900.gz). Apparently, the file is compressed with .gz. When I uncompressed it, the file was saved in the name (AphroJP_62STN_V1005.1900) of unknown format. How can I open it in R? thankyou very much

Re: [R] open unknown file format in R

2014-03-18 Thread eliza botto
, eliza botto eliza_bo...@hotmail.com wrote: Dear R-Family, I have just downloaded a massive data file from internet (AphroJP_62STN_V1005.1900.gz). Apparently, the file is compressed with .gz. When I uncompressed it, the file was saved in the name (AphroJP_62STN_V1005.1900) of unknown

Re: [R] open unknown file format in R

2014-03-18 Thread eliza botto
the gridded format, I used: readBin(fid, numeric(), n=1e8, size=4, signed=TRUE, endian='little') where file is the connection created with file() Hope this helps, Pascal On Tue, Mar 18, 2014 at 4:06 AM, eliza botto eliza_bo...@hotmail.com wrote: Dear R-Family, I have just downloaded

Re: [R] open unknown file format in R

2014-03-18 Thread eliza botto
points you need, with the coordinates. HTH Pascal On Tue, Mar 18, 2014 at 9:21 PM, eliza botto eliza_bo...@hotmail.com wrote: Hi Pascal, Your code worked out perfectly but I have one question though. You wrote that you did not use stations. What if I want to read stations as i am

[R] reading row title

2014-03-19 Thread eliza botto
Dear R-Family, I have a data-set of the following format. I am only presenting a part of it. DateA B C D 1-Jan-61 0.00 1.27 8.128 0.25 2-Jan-61 6.10 9.144 94.742

Re: [R] reading row title

2014-03-19 Thread eliza botto
=TRUE,stringsAsFactors=FALSE) res -á as.data.frame(apply(dat[,-1],2,FUN=function(x) {x1 -dat[,1][is.na(x)]; x2 - max(colSums(is.na(dat[,-1]))); if(length(x1) x2) c(x1, rep(,x2-length(x1))) else x1}),stringsAsFactors=FALSE) A.K. On Wednesday, March 19, 2014 2:39 PM, eliza botto

[R] Error: cannot allocate vector of size 5.2 Gb

2014-03-20 Thread eliza botto
Dear R family, I am trying to read a real large dataset in R (~ 2Gb). Its in binary format. When i tried to read it by using following command readBin(DAT.dat.nc, numeric(), n=9e8, size=4, signed=TRUE, endian='little') I got the following error Error: cannot allocate vector of size 5.2 Gb I have

[R] geoghraphical coordinate

2014-03-21 Thread eliza botto
Dear R-family, I want to draw a map of the world with 0.5 degree*0.5 degree resolution and then want to extract the geographical coordinates of my beloved country Ireland in the same resolution. I hope there is a way of doing it in R. Thank you very much in advance, Eliza

[R] plotting vectors of different lengths

2014-03-22 Thread eliza botto
Dear useRs, I have two column vectors of different lengths say x=1,2,3,4,5,6,7,8 and y=1,2,3,4,5. I wanted to plot them by using points() command over an already existed image but got an error, Error in xy.coords(x, y) : 'x' and 'y' lengths differ.What i actually wanted to do was to plot the

Re: [R] plotting vectors of different lengths

2014-03-22 Thread eliza botto
To: eliza_bo...@hotmail.com CC: r-help@r-project.org Hi Eliza, Perhaps the following? matpoints(t(dat), type = 'l') HTH,Jorge.- On Sat, Mar 22, 2014 at 10:18 PM, eliza botto eliza_bo...@hotmail.com wrote: Dear useRs, I have two column vectors of different lengths say x=1,2,3,4,5,6,7,8 and y

Re: [R] plotting vectors of different lengths

2014-03-22 Thread eliza botto
. If I understand correctly, the following will do: x - 1:8y - 1:5 matrix(apply(expand.grid(x = y, y = x), 1, function(r) paste0((, r[1], ,, r[2], ))), ncol = length(x)) Best, Jorge.- On Sat, Mar 22, 2014 at 10:37 PM, eliza botto eliza_bo...@hotmail.com wrote: Thankyou very much jorge

Re: [R] plotting vectors of different lengths

2014-03-22 Thread eliza botto
Dear Bert and Arun, Thankyou very much for your help. I am really obliged. :D Eliza Date: Sat, 22 Mar 2014 08:17:31 -0700 Subject: Re: [R] plotting vectors of different lengths From: gunter.ber...@gene.com To: smartpink...@yahoo.com; jorgeivanve...@gmail.com; eliza_bo...@hotmail.com CC:

Re: [R] Latest question

2014-03-22 Thread eliza botto
[row.names(mat1) %in% df1$Ry,colnames(mat1) %in% df1$Rx]),nrow=120, dimnames=list(NULL,colnames(res))) identical(res,res2) #[1] TRUE A.K. On Saturday, March 22, 2014 4:14 PM, eliza botto eliza_bo...@hotmail.com wrote: Thankyou very very much arun. Right now i cant have an acess to PC

[R] points with-in boundaries of a map

2014-03-22 Thread eliza botto
Dear UseRs, I have a question regarding reading the coordinates within a country' map. I drew map of ireland by using the following commands library(maps) library(mapproj) map(world, ireland) map.axes() You can clearly see the axis labelled. What is want to do is to draw lines (both vertically

Re: [R] points with-in boundaries of a map

2014-03-23 Thread eliza botto
-project.org Subject: Re: [R] points with-in boundaries of a map On 03/23/2014 01:01 PM, eliza botto wrote: Dear UseRs, I have a question regarding reading the coordinates within a country' map. I drew map of ireland by using the following commands library(maps) library(mapproj) map

Re: [R] points with-in boundaries of a map

2014-03-23 Thread eliza botto
: [R] points with-in boundaries of a map On 03/23/2014 10:29 PM, eliza botto wrote: Thankyou very much jim. it worked! but regarding second part of my question, isn't there a way to read the coordinates of intersecting lines with the premises of the map? Hi Eliza, I think you want

Re: [R] points with-in boundaries of a map

2014-03-24 Thread eliza botto
statement. Please refer to www.vestas.com/legal/notice If you have received this e-mail in error please contact the sender. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of eliza botto Sent: 23. marts 2014 03:02 To: r

Re: [R] points with-in boundaries of a map

2014-03-24 Thread eliza botto
Thanks ray, I really appreciate your concern. Eliza Date: Tue, 25 Mar 2014 08:35:15 +1300 From: ray.brownr...@ecs.vuw.ac.nz To: fr...@vestas.com; eliza_bo...@hotmail.com; r-help@r-project.org Subject: Re: [R] points with-in boundaries of a map On 24/03/14 20:09, Frede Aakmann Tøgersen

[R] reading dataset

2014-03-26 Thread eliza botto
Dear useRs, A similar question has previously been asked by another user (https://stat.ethz.ch/pipermail/r-sig-geo/2011-September/012791.html) but i'll try to discuss it from another angle. Its about data reading. I am trying to read to read a data-set APHRO_MA_050deg_V1101R2.1961.gz from

Re: [R] reading dataset

2014-03-27 Thread eliza botto
:45 AM, eliza botto eliza_bo...@hotmail.com wrote: Dear useRs, A similar question has previously been asked by another user (https://stat.ethz.ch/pipermail/r-sig-geo/2011-September/012791.html) but i'll try to discuss it from another angle. Its about data reading. I am trying to read

Re: [R] reading dataset

2014-03-27 Thread eliza botto
the sender. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of eliza botto Sent: 27. marts 2014 13:26 To: Pascal Oettli Cc: r-help@r-project.org Subject: Re: [R] reading dataset Dear Pascal, Thanks for your reply

[R] monthly sum

2014-03-31 Thread eliza botto
Dear useRs, I have the data of following format. I have only pasted some part of the data. The data starts from 1961 and ends up in december 1987. dat - read.table(text=Date A B C D1-Jan-61 0.00 1.27 8.128 0.252-Jan-61 6.10 9.144 94.742 15.493-Jan-61 0.00 0.508 1.27 0.004-Jan-61 0.00 0 NA

[R] NA to NA

2014-03-31 Thread eliza botto
Dear useRs, Sorry for such a ridiculous question but i really need to know that what is the difference between NA and NA and how to convert NA to NA. Thankyou very much in advance Eliza [[alternative HTML version deleted]]

Re: [R] monthly sum

2014-03-31 Thread eliza botto
Em 31-03-2014 18:31, eliza botto escreveu: Dear useRs, I have the data of following format. I have only pasted some part of the data. The data starts from 1961 and ends up in december 1987. dat - read.table(text=Date A B C D1-Jan-61 0.00 1.27 8.128 0.252-Jan-61 6.10 9.144 94.742

Re: [R] monthly sum

2014-03-31 Thread eliza botto
:40, eliza botto escreveu: Dear Rui, Thanks for your reply. But the command seems not to be working. I am getting the following error. Error in FUN(X[[1L]], ...) : invalid 'type' (character) of argument Any idea? :( Thanks, Eliza Date: Mon, 31 Mar 2014 18:48:08 +0100

  1   2   3   >