Posts

Showing posts from November 26, 2018

Dudley Marjoribanks, 1st Baron Tweedmouth

Image
The Right Honourable The Lord Tweedmouth Member of the Westminster Parliament for Berwick-upon-Tweed In office 1853 – May 1859 Preceded by John Stapleton and Matthew Forster Succeeded by Charles William Gordon and Ralph Anstruther Earle In office August 1859 – 1868 Preceded by Charles William Gordon and Ralph Anstruther Earle Succeeded by John Stapleton and Viscount Bury Personal details Born 29 December 1820 Died 4 March 1894 (aged 73) Nationality Scottish and British Political party Liberal Spouse(s) Isabella Weir Hogg Children Edward, Mary, Stewart, Annie, Ishbel, Coutts, Archibald Residence 57.28587,-4.842773 Alma mater Harrow, Christ Church, Oxford Occupation politician: Member of Parliament; member of the Lords Profession politics Cabinet Liberal party Dudley Coutts Marjoribanks, 1st Baron Tweedmouth , also known as the Laird of Guisachan and Glenaffric , [1] [2] (29 December 1820 – 4 M

Trying to use the window function from R

Image
up vote 3 down vote favorite This is my dataframe: structure(list(dates = structure(c(16162, 16161, 16160, 16157, 16156, 16155, 16154, 16153, 16150, 16149, 16148, 16147, 16146, 16143, 16142, 16141, 16140, 16139, 16136, 16135, 16134, 16129, 16128, 16127, 16126, 16125, 16122, 16121, 16120, 16119, 16118, 16115, 16114, 16113, 16112, 16111, 16108, 16107, 16106, 16105, 16104, 16101, 16100, 16099, 16098, 16097, 16094, 16093, 16092, 16091), class = "Date"), VALE5 = c(28.29, 28.26, 28.35, 27.81, 27.85, 27.5, 27.61, 27.16, 27.2, 26.64, 26.57, 26.55, 26, 26.1, 25.9, 26.46, 26.1, 26.37, 27.09, 28.11, 28.11, 29.09, 29.31, 29.02, 29, 29.76, 30.61, 30.59, 30.9, 30.6, 30.74, 30.96, 30.76, 30.79, 30.77, 30.44, 30.66, 30.8, 29.94, 29.58, 29.1, 30, 29.76, 29.96, 28.88, 28.54, 28.63, 28.15, 28.91, 28.48)), row.names = c(NA, 50L)