-
R function: block average
R ·Commonly, we need to calculate a mean value of a sequence of numbers, and we would also calculate a level of uncertainty for that estimate. This is, the standard error, which is calculated as the quotient between the standard deviation of the data and the squared root of the number of observations.
-
R function: vector of dates
R ·Here I present a simple R function that may be useful for time series analyses. The function outputs a character vector of length defined in
total_days
, each element representing a date, starting from the day, month and year chosen by the user, with a particular format also defined by the user. This function may be useful to get... -
Hello World
General ·I thought it would be funny (and a cliché) to start the first post of this blog with a classic “Hello World”. I haven’t written anything yet but I will be do it soon!