similar to: NA values

Displaying 20 results from an estimated 20000 matches similar to: "NA values"

2006 Apr 24
3
Problem with data frame
Dear r-users, suppose I have n normal distributions with parameter N(0,i) i=1,2,.......,n respectively. Now I want to generate 500 random number for each distribution. And want to put all 500*n random numbers in a single data frame. I tried with following code: >n=20 random = data.frame(n) for ( i in 2: length) { random[,i] = random(500,mean=0,sd=i) } but while executing this I
2008 Jul 23
2
Weighted variance function?
There is a R function to calculate weighted mean : weighted.mean() under stats package. Is there any direct R function for calculating weighted variance as well? [[alternative HTML version deleted]]
2006 Jun 12
2
Combinig two data frames
Dear all r-users, Suppose I have two data frame: A 1 3 4 5 2 and B 5 6 3 5 Now I want combine this two data frames without losing any value from either data frame. More precisely I want to see A B 1 5 3 6 4 3 5 5 2 NA I tried with cbind function but failed, as it only works when two data frames have equal number of rows. Can anyone suggest me any code that can be used for any
2006 May 11
3
Please help me to combine two datasets.
Dear r-users, Suppose I have two data sets data set-1 Date height ------------------------ 1/11/2005 10 2/11/2005 23 3/11/2005 54 4/11/2005 21 5/11/2005 22 data set-2 weight -------- 32 45 11 Now I want to combine this two data sets. i.e. i want to see: Date height weight ------------------------------------------- 3/11/2005 54
2006 Jun 13
1
how to make a series with decimal increment
Hi List, I am new to this Rsoftware, i want to make a sereis for example which is having values like this, s<- 0,0.1,0.2,0.3,0.4........,1 i tryed this statement s<-0:0.1:1 but this giving an error megssage. but by default increment 1 it is taking ,,,,,so what to do ,, i want to use this varible in for loop.. like for(j in s) thanks in advance with regards anil kumar ANIL
2006 Feb 14
2
how I can perform Multivariate Garch analysis in R
Dear aDVISOR, Hope I am not disturbing you. Can you tell me how I can perform Multivariate Garch analysis in R. Also please, it is my humble request let me know some resource materials on Multivariate Garch analysis itself. Sincerely yours, -- Arun Kumar Saha, M.Sc.[C.U.] S T A T I S T I C I A N [Analyst] Transgraph Consulting [www.transgraph.com] Hyderabad, INDIA Contact # Home:
2007 Jan 20
3
Insert R logo
Dear all R users, I want to insert the R logo in every graphic that I made in my Statistical analysis using R. Can anyone tell me whether is it possible or not and if possible how to do this? your help will be highly appreciated. Thanks and Regards, Arun [[alternative HTML version deleted]]
2006 Oct 04
2
Status of R 2.4.0 in svn repository and R-Admin manual
Dear list, I have been using and testing the alpha/betas of R 2.4.0, sources for which I got from svn.r-project.org/R/branches/R-2-4-branch, and which I compiled on my Fedora Core 5 machine. No problems there. I have just updated the source tree today and re-compiled - which also works just fine. When run, this gives: R version 2.4.0 Patched (2006-10-03 r39576) So I assume from that, that I am
2007 Sep 18
5
Need help on "date"
Dear all, I have a variable 'x' like that: > x [1] "2005-09-01" Here, 2005 represents year, 09 month and 01 day. Now I want to create three variables naming: y, m, and d such that: y = 2005 m = 09 d = 01 can anyone tell me how to do that? Regards, [[alternative HTML version deleted]]
2008 Feb 27
3
Loading user defined functions autometically each time I start R
Hi all, I wrote some user defined function for my own. Now I want to get a mechanism so that every time I start R, those function will automatically be loaded in R without manually copying pasting. Can gurus here pls tell me how to do that? Or I have to build my own packages bundled with those functions. However I am not familiar in writing R package yet. Regards, [[alternative HTML version
2008 Apr 23
3
Writing list object to a file
Hi all, I am wondering how to write a 'list' object to a file. I already gone through some threads like http://mail.python.org/pipermail/python-list/2001-April/080639.html, however could not trace out any reliable solution. I tried following : > write.table(calc, file="c:/data.csv") Error in data.frame("200501" = c(-0.000387071806652095, -0.000387221689252648, :
2006 Aug 10
3
Geometrical Interpretation of Eigen value and Eigen vector
Dear all, It is not a R related problem rather than statistical/mathematical. However I am posting this query hoping that anyone can help me on this matter. My problem is to get the Geometrical Interpretation of Eigen value and Eigen vector of any square matrix. Can anyone give me a light on it? Thanks and regards, Arun [[alternative HTML version deleted]]
2007 Apr 26
2
Drawing Tangent
Dear all R-users, I would like to draw a tangent of a given function for a particular (given) point. However the straight line representing it should not cut any axis, it should be a small line. Can anyone tell me how to do this? Thanks, Arun [[alternative HTML version deleted]]
2005 Jan 23
5
How to use "identify"
I can't get identify to work, using R 2.0.1 under windows xp pro, service pack 2. Here's what I enter, and the result: > plot((our.frame2$c1),(our.frame2$c9)) # Produces desired plot > identify(our.frame2$c1) # Plot comes to forefront, so I select a point warning: no point with 0.25 inches numeric(0) Is my call to identify correct? The help page for indentify (from
2008 Apr 29
3
Simulation study in R
Here I am in a simulation study where I want to find different values of x and y such that f(x,y)=c (some known constant) w.r.t. x, y >0, y<=x and x<=c1 (another known constant). Can anyone please tell me how to do it efficiently in R. One way I thought that I will draw different random numbers from uniform dist according to that constraints and pick those which satisfy f(x,y)=c. However
2006 Oct 13
1
NA-handling in glm.fit?
Dear Sir or Madam, I'm wondering if there is any routine or argument in the function 'glm.fit' that makes it handle NA's. The function 'glm' can handle NA's but I can't make make it work (or find anything written on this in the help files) with 'glm.fit'. Is it even possible in'glm.fit'? How? Thanks before hand, Fredrik Thuring, Business Researcher
2004 Nov 04
3
sub- and superscript in plot labels
Dear List, I need to add a subscript and a superscript to some of the ions in the labels on some plots. I have got to here but now I'm stuck: plot(1:10, xlab = expression(paste("nm SO"[4], " ", mu, "eq cm"^{-2}, " yr"^{-1}))) Which gives almost what I require. No matter what I tried, however, I could not get bot a sub script *and* a superscript
2008 May 19
2
Converting variance covariance matrix to correlation matrix
Suppose I have a Variance-covariance matrix A. Is there any fast way to calculate correlation matrix from 'A' and vice-versa without emplying any 'for' loop? [[alternative HTML version deleted]]
2008 Jul 06
2
looking for alternative of 'if-else'
There is "if-else" loop if I have to choose 1 item from a 2-item list. However if I have a list of 4 items (let say) then how i can choose a single item without employing 'if-else' loop? I mean in VBA I can use "select-case", is there any equivalent in R as well? Regards, [[alternative HTML version deleted]]
2012 Dec 23
3
Spammer radhi
This happened two or three weeks ago and it's happening again. Spammers are using Nabble to attack R-Help. The psts are signed radhi and the posts' titles are taken from previous posts and therefore seem authentic but all messages end with "click here". I suggest you don't. And don't rply to this "radhi" And again on a weekend. Rui Barradas