Excellent Boris, thx – this helps
From: Boris Steipe
Sent: June 25, 2017 11:23 AM
To: Christophe Elek
Cc: r-help@r-project.org
Subject: Re: [R] Fill in empty cell in data.frame from previous value
Run it through a loop. I assume the cell contents is NA (Not Available). Test
for it with is.na
Perfect Jim, that Is exactly what I needed – let me check that ...
Cheers
From: Jim Lemon
Sent: June 25, 2017 3:11 AM
To: Christophe Elek
Cc: r-help@r-project.org
Subject: Re: [R] Fill in empty cell in data.frame from previous value
Hi Chris,
You may know about the *apply family of functions
Hello Total newbie here... I hope I read the guide properly
I have the following data.frame (I read it from a CSV file I cannot change)
names val
1 Mandy 1
2 2
3 John2
4 2
I want to read the row number 2, but I want the first column to be “Mandy” and
not null
print (fra
3 matches
Mail list logo