S H Posted April 24, 2018 Share Posted April 24, 2018 Hello, I'm trying to solve a problem in Spotfire where I want to count the days between two DateTime columns, only counting business days (no weekends). Several people have suggested elsewhere that an R function could be the way to go on this, and so I have been trying to get this to work. I'm coming at this with zero R experience whatsoever. This is the function I have defined: removeWeekend = function (a,b) { date_range Link to comment Share on other sites More sharing options...
Thom Siragusa Posted May 21, 2020 Share Posted May 21, 2020 Please see this post which has an expression and R script solutions https://community.spotfire.com/questions/i-need-calculate-number-working-da... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now