This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.function.Consumer; | |
import java.util.function.Function; | |
import java.util.Optional; | |
public class Example { | |
public static void main(String []args) { | |
// Create a series of nullable objects. | |
Test a = new Test(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#FITTING SPLINES IN R | |
# D Menezes 20170531 | |
#0. PRELIMINARIES | |
#install.packages("pacman") #only needed if you don't have it installed | |
pacman::p_load("splines") | |
#1. INPUT VALUES | |
input.x<-c(seq(from=0,to=120,by=12)) #assuming we have annual spline points |