get_4Darray | R Documentation |
This function returns a 4D-array which is an auxiliary
object when invoking applyGapfill
.
get_4Darray(listPath, i, lon, lat, days, years)
listPath |
list, containing lists with names of files to be assembled as a 4D array. |
i |
numeric indicating |
lon |
character vector whose entries indicate longitude coordinates. |
lat |
character vector whose entries indicate latitude coordinates. |
days |
numeric vector indicating what days are being considered. Length of this
object must be equal to length of |
years |
integer vector indicating what years are being considered. Length of this
object must be equal to length of |
Each entry of listPath
must contain files associated with images
registered during the same year. lon
and lat
can be obtained with the functions get_LON
and get_LAT
, respectively. days
must be provided by the user, otherwise
it will be set to 1:length(years)
.
An array of 4 dimensions: longitude, latitude, days and years
This function may be useful when employing Gapfill
independently of the current package.
create_dirs
, get_3Darray
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.