R package PAFit. A statistically sound method for estimating jointly the attachment function and node fitness in a temporal complex network by maximizing a suitable penalized log-likelihood function is implemented in this package. Tutorial can be found in the accompanying vignette. For a list of references, please run the command: citation(”PAFit”).