Skip to content

inserting values for null

7 messages · Rajasekaramya, milton ruser, Dr Eberhard W Lisse +3 more

#
I have a dataframe D.F1
14351 9 
This dataframe has values and for some 1000 rows it holds NULL values.I hace
found the missing values for about 500 and have those in another dataframe
D.F.sub.2
500 9 
as dataframe is a subset of D.F1 the coulmn 1 in D.F.sub.2 is a subset of
D.F1.I have to insert the values in D.F1 in other fields while the coulmn 1
in both the main table and sub table matches. 
Ih short i have to insert a dataframe (D.F.sub.2) into the main D.F1 using
the column1 that hold similar values. 

Kindly plz help me.

Ramya
#
Hi,

is there a Rdbi or other package to use firebird in R?

I am reviewing options for my Practice software and might have
to switch to a firebird based package so I would of course like
to be able to do some stats in R.

greetings, el
#
On Sep 17, 2008, at 6:00 PM, Dr Eberhard W Lisse wrote:

            
Per Prof Ripley:

http://tolstoy.newcastle.edu.au/R/help/04/10/6358.html
#
Hi Ramya,

Assuming that the problem is well defined (i.e. the values in col1 of the data.frames are unique and every value in D.F.sub.2[,1] appears also in D.F1[,1]) you can do the following:

ind <- match(D.F.sub.2[,1],D.F1[,1])
D.F1[ind,] <- D.F.sub.2
--- On Thu, 18/9/08, Rajasekaramya <ramya.victory at gmail.com> wrote:

            
#
ODBC,

didn't think of that, thanks.

el
On 18 Sep 2008, at 00:31 , David Winsemius wrote: