Re: [R] R-help Digest, Vol 124, Issue 12

2013-06-11 Thread Abdul Rahman bin Kassim (Dr.)
Dear R-User, Appreciate any helps. Given that I have a dataframe of tree population with three variable: sp=species , d0=initial_size grow=growth increment from initial size per year How can I calculate the future growth of each tree for the next 10 years. The following Rscript was written,

[R] Question on Simple Repeated Loops

2013-06-11 Thread Abdul Rahman bin Kassim (Dr.)
Dear R-User, Appreciate any helps. It looks simple, but I don't have a clue. Given that I have a dataframe of tree population with three variables: sp=species , d0=initial_size grow=growth increment from initial size per year How can I calculate the future growth increment of each tree for th

Re: [R] Returning combine output from R loop

2013-05-31 Thread Abdul Rahman bin Kassim (Dr.)
Dear Kane, Great and thanks for the do.call function. Abd Rahman From: arun [smartpink...@yahoo.com] Sent: Saturday, June 01, 2013 12:23 AM To: Abdul Rahman bin Kassim (Dr.) Cc: R help; John Kane Subject: Re: [R] Returning combine output from R loop Hi

Re: [R] Returning combine output from R loop

2013-05-31 Thread Abdul Rahman bin Kassim (Dr.)
- Abd Rahman From: John Kane [jrkrid...@inbox.com] Sent: Friday, May 31, 2013 10:33 PM To: Abdul Rahman bin Kassim (Dr.); r-help@r-project.org Subject: RE: [R] Returning combine output from R loop One way is to put them in a list. Does this help? a0 <- data.frame(initial_size=sample(30,1

Re: [R] Returning combine output from R loop

2013-05-31 Thread Abdul Rahman bin Kassim (Dr.)
: Friday, May 31, 2013 4:12 PM To: Abdul Rahman bin Kassim (Dr.); r-help@r-project.org Subject: RE: [R] Returning combine output from R loop In line with what you are doing now, but saving the intermediate results you could use something like this. a3 <- a0 for( i in 1:3) { a1 <- a0$initial_s

[R] Returning combine output from R loop

2013-05-30 Thread Abdul Rahman bin Kassim (Dr.)
Dear R-User, Appreciate any advice on producing combine output from an R loop. Planning to project the growth (grow) of plant species (sp) from its initia size (initial_size). Using the follwing example, how can I produce the results combining the output from 3 iteration. The ouput a2 produce

[R] Need Help in Finite Element Analysis

2012-08-02 Thread Abdul
Hi everybody I need help to solve the following problem in finite element A field variable f(x,y)=xᵌ y is defined over a rectangle domain Ω={K: 0≤x≥4 , 0≤y≥6” Given the expression g=∬_(0 0)^(6 4)▒〖X^3 Y dx dy〗 And assume the following bilinear interpolation shape functions are used to discr

Re: [R] plotting multiple lines on single graph ggplot2

2011-11-28 Thread Abdul Wahid Memon
Its very much simple. Simply, if we do like the following x<-c(100,200,300,400,500) y<-c(1.1, 1.2, 1.3, 1.4, 1.5) a<-c(600, 700, 800, 900, 1000) b<-(1.5, 1.7, 1.9, 2.1, 2.3) plot(x,y) points(a,b) As you can see the call to points() function will superimpose a new curve (with some new points on x-

[R] plotting multiple lines on single graph ggplot2

2011-11-28 Thread Abdul Wahid Memon
this: the hundreds should appear on x-axis and the fractional values of y axis. Thanks alot. MEMON Abdul Wahid __ 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] Create column of frequency

2009-09-29 Thread abdul kudus
Dear all, Given mypi mypi <- c(0.1,0.2,0.2,0.1,0.3,0.4,0.4,0.4,0.4,0.2) I want to create myfreq as follows mypi myfreq 0.1 2 0.2 3 0.2 3 0.1 2 0.3 1 0.4 4 0.4 4 0.4 4 0.4 4 0.2 3 where myfreq is frequency of its corresponding observation. How to do that? Thank you, Regards, A. Kudus Institu

[R] subset data

2009-05-05 Thread abdul kudus
$id,3,replace=F) > selected.id [1] 9 7 1 I want to select data with corresponding selected.id, namely > selected.data id x 9 9 0.2887064 7 7 0.7981568 1 1 0.3604464 How to do? Tq. Abdul Kudus Institute for Mathematical Research Universiti Putra Malaysia [[alternative

[R] Request for some help

2009-04-25 Thread abdul hanan
Dera Graham I would highly be thankful if u help me how to do 1. Wilk's Lambda test 2. Box plots and 3. pooled within group standardization in discriminant analysis with 6 variables in R. Actually I am new to R but I have an assignment to analyse some questions only in R and there is drawback for

[R] [Ask]Robust Buckley-James like estimator

2008-07-14 Thread abdul kudus
Hi all, Is there anyone know about R function for getting robust estimate of Buckley-James general liner model for censored data? tq, Abdul Kudus [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch