[R] array problem and for looping

2004-10-28 Thread Kunal Shetty
Dear R- users and Helpers Is there some way to re initialise or clear the array elements? Pardon me for being vague but the problem itself quite vague. I have attached the code along with email. When I run the saved r- code using source(random1.txt) , command. The program runs fine..but at

[R] Loop conditioning situation

2004-10-28 Thread Kunal Shetty
Dear R-users and helpers I am facing a problem basically structuring my condition loop Say I have three values say x, y , z X Y Z Then I need to loop (till each of the values of X and Y and Z are same as the previous one) { over here the function does some calculations and updates the X and

Re: [R] Random number

2004-10-27 Thread Kunal Shetty
multiply the X and Y vector individually x- (A%*%x) y- (A%*%y) Error in A %*% z : non-conformable arguments ?? the error persist...sunder... or anybody who could direct me..? regards Kunal Sundar Dorai-Raj [EMAIL PROTECTED] wrote: Kunal Shetty wrote: Dear R- User

Re: [R] Ref: Variable scope or function behaviour or array reassign

2004-10-26 Thread Kunal Shetty
Thank you regards Kunal Uwe Ligges [EMAIL PROTECTED] wrote: Kunal Shetty wrote: Uwe Ligges thank you for u prompt reply my problem was in step3 where my function returns two different arrays. Yes i did try returning an object from

[R] Ref: Variable scope or function behaviour or array reassign

2004-10-25 Thread Kunal Shetty
Dear R- helpers Following a draft structure of the R script for which I am facing problem Step 1 x - of type array with original values y - of type array with original values Step 2 for (ctr in 1:10) { # my problem here the both x and y still show the original values from step 1 # in

Re: [R] Ref: Variable scope or function behaviour or array reassign

2004-10-25 Thread Kunal Shetty
to assign the global arrays within the function itself without bothering to return any object... any help on this.. regards Kunal Uwe Ligges [EMAIL PROTECTED] wrote: Kunal Shetty wrote: Dear R- helpers Following a draft structure of the R script for which I am facing

[R] Maximum Likelihood :- Log likehoood function

2004-10-13 Thread Kunal Shetty
Dear R - users/Helpers I am dealing with bivariate Normal data with missing values. Further I am trying to implement Expectation-Maximization (EM) algorithm to resolve the missing data problem. Now one of the requirements is use the Log likehood function i.e -2Log so as to find a reliable

RE: [R] Re:How to create a R -application

2004-10-13 Thread Kunal Shetty
on this...please. regards Kunal [EMAIL PROTECTED] (Ted Harding) wrote: On 07-Oct-04 Kunal Shetty wrote: Dear R- users and Helpers I am a beginner for R. I am using R to implement EM algorithm for treating Missing values. I would like to know how can save or compile my logical R

RE: [R] Re:How to create a R -application

2004-10-13 Thread Kunal Shetty
... . You will then see a list of packages which you can select from. and a very useful site for R developers on windows paltform http://wwwmaths.anu.edu.au/~wangk/personal/pub/R/WinBook/node7.html regards Kunal Kunal Shetty [EMAIL PROTECTED] wrote: Dear Ted and R- users and Helpers

[R] Re:How to create a R -application

2004-10-07 Thread Kunal Shetty
Dear R- users and Helpers I am a beginner for R. I am using R to implement EM algorithm for treating Missing values. I would like to know how can save or compile my logical R commands to an application; so that the next time I could just execute the R- file. Example for calculating the

RE: [R] Re:How to create a R -application

2004-10-07 Thread Kunal Shetty
Thank you for providing me details about While I'm at it, are you aware of the R library packages 'cat', 'norm', 'mix' and 'pan' which implement Shafer's EM methods for imputing missing data? See CRAN. regards Kunal [EMAIL PROTECTED] (Ted Harding) wrote: On 07-Oct-04 Kunal Shetty wrote

[R] Read.Table Reading a Text file

2004-10-07 Thread Kunal Shetty
Dear R users and Helpers I am beginner with using R and interested in carrying out certain task for my statistical research. I am reading data for a text file, which could contain data in following pattern x y 8 10 11 14 16 16 18 15 6 20 4 4 20 18 As

Re: [R] Read.Table Reading a Text file

2004-10-07 Thread Kunal Shetty
are trying to solve? Executive Technical Consultant -- Office of Technology, Convergys [EMAIL PROTECTED] +1 (513) 723-2929 Kunal Shetty [EMAIL PROTECTED] To: [EMAIL PROTECTED] .edu cc: Sent by: Subject: [R] Read.Table Reading a Text file [EMAIL PROTECTED] ath.ethz.ch 10/07/2004

RE: [R] Read.Table Reading a Text file

2004-10-07 Thread Kunal Shetty
PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kunal Shetty Sent: Thursday, October 07, 2004 18:44 PM To: [EMAIL PROTECTED] Cc: R-help Subject: Re: [R] Read.Table Reading a Text file James Thank you for response. I am working on treatment for missing data for both bivariate