search for: lightdata

Displaying 1 result from an estimated 1 matches for "lightdata".

2013 Feb 11
2
Inserting rows of interpolated data
Dear help list - I have light data with 5-min time-stamps. I would like to insert four 1-min time-stamps between each row and interpolate the light data on each new row. To do this I have come up with the following code: lightdata <- read.table("Test_light_data.csv", header = TRUE, sep = ",") # read data file into object "lightdata" library(chron) mins <- data.frame(times(1:1439/1440)) # generate a dataframe of 24 hours of 1-min timestamps Nth.delete <- function(dataframe, n)dataframe[...