search for: failmonsplin

Displaying 2 results from an estimated 2 matches for "failmonsplin".

Did you mean: failmonspline
2010 Feb 15
1
Non-monotonic spline using splinefun(method = "monoH.FC")
...example created to demonstrate this, ############################################### # Create the following data # This is created so that their are two adjoining sections which have to be adjusted x <- 1:8 y <- c(-12, -10, 3.5, 4.45, 4.5, 140, 142, 142) # Now run the splinefun() function FailMonSpline <- splinefun(x, y, method = "mono") # In theory this should be monotonic increasing but the required conditions are not satisfied # Check values of alpha and beta for this curve m <- FailMonSpline(x, deriv = 1) nx <- length(x) n1 <- nx - 1L dy <- y[-1] - y[-nx] dx <-...
2010 Feb 18
0
Error in coding for splinefun(method = "monoH.FC") (PR#14215)
...example created to demonstrate this, ############################################### # Create the following data # This is created so that their are two adjoining sections which have to be adjusted x <- 1:8 y <- c(-12, -10, 3.5, 4.45, 4.5, 140, 142, 142) # Now run the splinefun() function FailMonSpline <- splinefun(x, y, method = "mono") # In theory this should be monotonic increasing but the required conditions are not satisfied # Check values of alpha and beta for this curve m <- FailMonSpline(x, deriv = 1) nx <- length(x) n1 <- nx - 1L dy <- y[-1] - y[-nx] dx <-...