Displaying 8 results from an estimated 8 matches for "kshe4".
Did you mean:
ksh
2004 Oct 07
3
Read.Table Reading a Text file
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 per the example I have two columns and 7 rows of data in each.
However is real life data situation I may not know how many columns are present
2004 Oct 27
2
Random number
Dear R- User
I created two random number sets using rnorm function and calcuted their respective means. However now I would like to randomly
replace some values with NA. Thus create my own test data.
Any help or suggestions on this ?
Also wanted to confirm when multiplying two random number vectors x am y by matrix..is this how i do it.
A is the matrix
z <- c(x,y)
2004 Oct 08
1
reading partial file content
...__
> > James Holtman "What is the problem you are trying tosolve?"
> > Executive Technical Consultant -- Office of Technology,Convergys
> >james.holtman at convergys.com
> > +1 (513)723-2929
> >
> >
> >
> > KunalShetty
> > <kshe4 at student.monash To:r-help at stat.math.ethz.ch
> > .edu>cc:
> > Sent by: Subject: [R] Read.Table Reading a Textfile
> >r-help-bounces at stat.m
> >ath.ethz.ch
> >
> >
> > 10/07/200416:18
> >
> >
> >
> >
> >
> >
>...
2004 Oct 13
1
Maximum Likelihood :- Log likehoood function
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 convergence....
My question is there any R built function for the same or do i have to use the
2004 Oct 28
0
Passing values between programs
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 Y and Z with new values.
I then save these values for X and Y and Z
2004 Oct 25
1
Ref: Variable scope or function behaviour or array reassign
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 spite of making changes to the old values of the arrays x and y in the function
function
2004 Oct 28
2
array problem and for looping
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20041028/dbf887a9/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: random1.txt
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20041028/dbf887a9/random1.txt
2004 Oct 07
4
Re:How to create a R -application
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 mean of a data set
x <- c(8,11,16,18,6,4,20,25,9,13)
u <- mean(x)
u
Now I would like to save