Learn R Programming

KarsTS (version 2.4.1)

An Interface for Microclimate Time Series Analysis

Description

An R code with a GUI for microclimate time series, with an emphasis on underground environments. 'KarsTS' provides linear and nonlinear methods, including recurrence analysis (Marwan et al. (2007) ) and filling methods (Moffat et al. (2007) ), as well as tools to manipulate easily time series and gap sets.

Copy Link

Version

Install

install.packages('KarsTS')

Monthly Downloads

227

Version

2.4.1

License

GPL (>= 2)

Maintainer

Marina Saez

Last Published

January 14th, 2021

Functions in KarsTS (2.4.1)

RPKTS

Recurrence of probability
KarsTS

KarsTS: launches KarsTS
applyGap2TSer

applyGap2TSer: apply a gap set to a time series
E1dAndE2d

E1dAndE2d: invariants E1(d) and E2(d)
NAs4Resamp

NAs4Resamp: upsamples a time series.
aboutKTS

aboutKTS: opens information file about KarsTS version
applyTheiler

applyTheiler: apply Theiler's window
KarsTS-package

KarsTS
aggregateKTS

aggregateKTS: creation of time series of aggregated values
anaSamPer

anaSamper: analyzing sampling periods and gaps
checkIfAnyTs

checkIfAnyTs: check if there is some time series in the environment
assignMultiple

assignMultiple: assign multiple
arimaXKalman

arimaXKalman: ARIMAX + Kalman smoother
buttons3

buttons3: create the buttons corresponding to the Analysis Menu
createFAN

createFAN: creates a fixed amount of neighbors (FAN) matrix.
checkIfAnyGapOrTs

checkIfAny: check if there are any time series or gap sets in the environment
checkIfAnyGapTs

checkIfAny: check if there are any time series and gap sets in the environment
buttons4

buttons4: create the buttons corresponding to the Plots Menu
createFANplot

createFANplot: creates a plot from a fixed amount of neighbors (FAN) recurrence matrix
buttons2

buttons2: create the buttons corresponding to the Gap Sets Menu
buttons5

buttons5: create the buttons corresponding to the Filling Menu
buttons1

buttons1: create the buttons corresponding to the Time Series Menu
checkIfAny

checkIfAny: check if there are any data sets in the environment
createNote

createNote: creates a note on the input panel
createChb

createChb: creates a check box on the main screen
cleanEnvir

cleanEnvir: removes a list of variables from KTSEnv
createChbChb

createChbChb: two column check box
arimaKalman

arimaKalman: ARIMA + Kalman smoother
compareVecVec

compareVecVec: compare the elements of two vectors
areTsRmTimeCompatible

areTsRmTimeCompatible: test time compatibility between a time series and a recurrence matrix
createRb

createRb: creates a radio button
createRmChb

createRmChb: creates a check box of recurrence matrices
createOK

createOK: creates the OK or NEXT button on the input panel
createCrossRMPlot

createCrossRMPlot: creates a cross recurrence plot
createSubPanR4C1

createSubPanR4C1: creates the input panel on the main screen
createDistMatrix

createDistMatrix: creates distance matrix
composeKTS

composeKTS: perform operations on time series
createSimpleRM

createSimpleRM: creates a recurrence matrix
createRmRb

createRmRb: creates a radiobutton of recurrence matrices
destroyMainScreen

A function to destroy KarsTS main screen
destroyWelcome

destroyWelcome: destroys KarsTS welcome screen
gamKTS

A function to fill values by means of a generalized additive model
createChbEntry

createChbEntry: creates a check box with associated text entries
are2TsTimeCompatible

are2TsTimeCompatible: test time compatibility between two time series
areTsGapTimeCompatible

areTsGapTimeCompatible: tests time compatibility between a time series and a gap set
gapCheckedTF

gapCheckedTF: identifies checked gap sets
checkIfAnyRmTs

checkIfAnyRmTs: check if there is some recurrence matrix and some time series in the environment
checkIfAnyRm

checkIfAny: check if there is some recurrence matrix in the environment
createGapChb

createGapChb: creates a check box of gap sets
createGapRb

createGapRb: creates a radio button of gap sets
createCrossRM

createCrossRM: creates a cross recurrence matrix
createJointRM

createJointRM: creates a joint recurrence matrix
createEntry

createChb: creates a text entry on the main screen
createRandName

createRandName: creates a random name
createEachRb

createEachRb: creates a radiobutton on the main screen
createRandGaps

createRandGaps: create random gaps in a time series
getGapsAfterFill

getGapsAfterFill: get the remaining gaps
createTsChb

createTsChb: creates a check box of time series
createSimpleRMPlot

createSimpleRMPlot: creates a recurrence plot
findDateFormat

findDateFormat: finds the format of a set of dates
createSpecGaps

createSpecGaps: creates a specific gap in a time series
getScreenSize

getScreenSize: gets the computer screen size
fillWithTwins

fillWithTwins: fills missing values using twin points
getSamPerTable

getSamPerTable: get sampling periods table
exportall

exportall: exports all types of data sets
getOtherErrEstim

getOtherErrEstim: get some error estimates from a linear fit
getNewGapsInd

A function to create random gaps
createTitle

createTitle: creates a title in the input panel
getMaxNegSlope

getMaxNegSlope: get the maximum negative slope
createTsRb

createTsRb: creates a radiobutton of time series
cumuKTS

cumuKTS: creates a cumulated time series
createTITLE

createTITLE: create a title on the input panel
createJointRMPlot

createJointRMPlot: creates a cross recurrence plot
linearityKTS

linearityKTS: linearity tests
loadAllTypes

loadAllTypes: load all types of data sets
myLinModel

myLinModel: performs a linear fit
myScale

myScale: scaling function
genRmExample

A function to generate a recurrence matrix example
genGapExample

A function to generate a gap set example
getClassEnvir

getClassEnvir: get objects of a class from an environment
getCoordsKTS

getCoordsKTS: get coordinates from a plot
determinismKTS

determinismKTS: estimate determinism
diffKTS

diffKTS: calculate differences of a time series
embedData

embedData: embeds a time series
scaleKTS

scaleKTS: scale time series
saveReport

saveReport: saves report
getSamPerTable.1Freq

getSamPerTable.1Freq: get sampling periods table (time series with one frequency)
getRollStatistics

getRollStatistics: get rolling statistics It is used internally
setwdKTS

setwdKTS: set working directory
setCorrectDate

setCorrectDate: verifies date entry and returns proper output
getCRP

getCRP: gets the correlation probability of recurrence
endingLines

endingLines: add three lines of asterisks on the output panel
genTSExample

A function to generate an example time series
getMaxPosSlope

getMaxPosSlope: get the maximum negative slope
getNAsGaps

getNAsGaps: get the gaps in a time series
findTwins

findTwins: finds twin points in a recurrence matrix
theilerKTS

theilerKTS: apply Theiler's window via interface
getProTaos

getProTaos:calculate the probability of recurrence
getRecurrencePoints

A function to get recurrent points in a time series
writeMethodTitle

writeMethodTitle: writes a title on KarsTS output window
tsCheckedTF

tsCheckedTF: identifies checked time series
getDelayCharTimes

getDelayCharTimes: transforms dates from character to numeric.
fnnKTS

fnn: plots embedding dimendion vs false nearest neighbors
loadKarsTSFonts

loadKarsTSFonts: load KarsTS fonts
functToExport

functToExport: functions to export
getFANRM2

getFANRM2: creates a fixed amount of neighbours (FAN) matrix via console.
invariantsKTS

invariantsKTS: invariant plots
mainScreen

mainScreen: launches the main screen
isTimeAlright

isTimeAlright: checks whether a set of dates fits KarsTS format
gapDetect

gapDetect: identifies the gap sets currently loaded
getStatistics

getStatistics: calculates the statistics of a time series
goodnessFilling

goodnessFilling: estimate the goodness of the filling
gapForSelMethod

gapForSelMethod: gap set to fill
verifyRealEntry

verifyRealEntry: verify character entries
removeAllTypes

removeAllTypes: removes data sets
mergeTsOrGap

mergeTsOrGap: merges time series or gap sets
rmSlopeOutliers

rmSlopeOutliers: slope filter
removeIfExists

removeIfExists: remove if exists
missForestKTS

missForestKTS: filling missing values with random forest algorithm
rollStatisticsKTS

rollStatisticsKTS: rolling statistics
meanValue

meanValue: mean value filling
readMultEntryvalues

readMultEntryvalues: verifies multiple entry values
groupDates

groupDates: groups dates
groupIndices

groupIndices: group indices
modeKTS

modeKTS: computes the mode
histKTS

histKTS: plots histogram
getUniqueSampPer

getUniqueSampPer: get unique sampling periods
linCorrKTS

linCorrKTS: linear correlation plot
myApplyVector

myApplyVector: apply type function
mutInf

mutInf: mutual information
laminarityKTS

laminarityKTS: estimate laminarity
mutualKTS

mutualKTS: plots the mutual information
welcomeScreen

welcomeScreen: launches the welcome screen
naApproxKTS

naApproxKTS: filling by linear interpolation
normalityKTS

normalityKTS: normality tests
removePoints

removePoints: graphically remove points from a time series
renameAllTypes

renameAllTypes: rename all types of data sets
naSplinesKTS

naSplinesKTS: filling by spline interpolation
statisticsKTS

statisticsKTS: calculates the statistics of one or more time series
stationarityKTS

stationarityKTS: stationarity tests
windRoseKTS

windRoseKTS: wind rose
refreshDataSetsList

refreshDataSetsList: refreshes KarsTS data set list
writeMethodSummary

writeMethodSummary: writes a summary of the filling method
packagesToImport

packagesToImport: packages to import to KarsTS
saveAllTypes

saveAllTypes: saves all types of data sets.
verifyIntEntry

verifyIntEntry: verify integer entries
selectionGaps

selectionGaps: select gaps in a time series
verifyDateEntry

verifyDateEntry: verify date entries
roundKTS

roundKTS: rounding
scattTimeSeries

A function for plotting time series in the phase space
loessKTS

loess: loess smoothing
pcaKTS

pcaKTS: principal component analysis
plotTimeSeries

plotTimeSeries: plot time series
rmCheckedTF

rmCheckedTF: identifies checked recurrence matrices
showHelp

showHelp: shows KarsTS help
selectionTS

selectionTS
stlplusKTS

stlplusKTS: loess seasonal decomposition
rmDetect

rmDetect: identifies the recurrence matrices currently loaded
separateEntry

separateEntry: separates and checks comma-separated entry values
stinemannKTS

stinemannKTS: filling by Stinemann's interpolation
tsDetect

tsDetect: identifies the time series currently loaded
verifyCharEntry

verifyCharEntry: verify character entries
slopeOutliersBut

slopeOutliersBut: remove slope outliers