Skip to content
Prev 303732 / 398506 Next

function case in sqldf (datas from oracle) with a null value

On Mon, Aug 20, 2012 at 7:27 AM, cindy.dol <cindy.dolomieu at insa-lyon.fr> wrote:
What does Oracle have to do with all this?  Since its not clear what
your set up is here is a reproducible example along the lines of your
sql statement.  BOD is a six row, two column data frame that comes
with R.  We insert some NAs into two replicas of it:
Time demand
1    1    8.3
2    2   10.3
3    3   19.0
4    4   16.0
5    5   15.6
6    7   19.8