timeseries_imput: Impute the missing value for the timeseries using the linear...

Description Usage Arguments Value Author(s) Examples

View source: R/timeseries_imput.R

Description

Complete the time series using the linear interpolation

Usage

1
timeseries_imput(data, date_var, site_var, imput_col)

Arguments

data

data.frame, contains the refrence id, individual_id and exposure_date

date_var

character, varibale name in data, represents the monitoring date.

site_var

character, varibale name in data, represents the name of monitoring site.

imput_col

numeric,the column position of the target variables need to be imputed

Value

a data.frame

Author(s)

Bing Zhang, https://github.com/Spatial-R/EnvExpInd

Examples

1
2
3
library(EnvExpInd)
pollutant_data_com <- timeseries_imput(data= pollutant_data,date_var = "date",
                      site_var = "site.name",imput_col = 3:8)

Spatial-R/EnvExpInd documentation built on Oct. 24, 2020, 1:44 a.m.