Learn R Programming

⚠️There's a newer version (2.4.1) of this package.Take me there.

KarsTS (version 2.3)

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) <10.1016/j.physrep.2006.11.001>) 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

256

Version

2.3

License

GPL (>= 2)

Maintainer

Marina Saez

Last Published

June 7th, 2020

Functions in KarsTS (2.3)

applyTheiler

applyTheiler: apply Theiler's window
buttons1

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

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

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

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

createChb: creates a check box on the main screen
areTsGapTimeCompatible

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

are2TsTimeCompatible: test time compatibility between two time series
createRb

createRb: creates a radio button
createRmChb

createRmChb: creates a check box of recurrence matrices
aboutKTS

aboutKTS: opens information file about KarsTS version
RPKTS

Recurrence of probability
createRmRb

createRmRb: creates a radiobutton of recurrence matrices
createChbChb

createChbChb: two column check box
arimaKalman

arimaKalman: ARIMA + Kalman smoother
areTsRmTimeCompatible

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

buttons5: create the buttons corresponding to the Filling Menu
createTsRb

createTsRb: creates a radiobutton of time series
createTsChb

createTsChb: creates a check box of time series
destroyMainScreen

A function to destroy KarsTS main screen
genGapExample

A function to generate a gap set example
getRollStatistics

getRollStatistics: get rolling statistics It is used internally
genRmExample

A function to generate a recurrence matrix example
destroyWelcome

destroyWelcome: destroys KarsTS welcome screen
aggregateKTS

aggregateKTS: creation of time series of aggregated values
createEachRb

createEachRb: creates a radiobutton on the main screen
createGapChb

createGapChb: creates a check box of gap sets
exportall

exportall: exports all types of data sets
createGapRb

createGapRb: creates a radio button of gap sets
checkIfAny

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

createChb: creates a text entry on the main screen
fillWithTwins

fillWithTwins: fills missing values using twin points
genTSExample

A function to generate an example time series
anaSamPer

anaSamper: analyzing sampling periods and gaps
getCRP

getCRP: gets the correlation probability of recurrence
createSimpleRM

createSimpleRM: creates a recurrence matrix
embedData

embedData: embeds a time series
endingLines

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

gapDetect: identifies the gap sets currently loaded
KarsTS

KarsTS: launches KarsTS
arimaXKalman

arimaXKalman: ARIMAX + Kalman smoother
NAs4Resamp

NAs4Resamp: upsamples a time series.
getSamPerTable.1Freq

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

invariantsKTS: invariant plots
isTimeAlright

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

getGapsAfterFill: get the remaining gaps
modeKTS

modeKTS: computes the mode
buttons3

buttons3: create the buttons corresponding to the Analysis Menu
createChbEntry

createChbEntry: creates a check box with associated text entries
composeKTS

composeKTS: perform operations on time series
buttons4

buttons4: create the buttons corresponding to the Plots Menu
compareVecVec

compareVecVec: compare the elements of two vectors
createCrossRM

createCrossRM: creates a cross recurrence matrix
getMaxNegSlope

getMaxNegSlope: get the maximum negative slope
createRandGaps

createRandGaps: create random gaps in a time series
histKTS

histKTS: plots histogram
getUniqueSampPer

getUniqueSampPer: get unique sampling periods
groupIndices

groupIndices: group indices
getStatistics

getStatistics: calculates the statistics of a time series
myLinModel

myLinModel: performs a linear fit
gapForSelMethod

gapForSelMethod: gap set to fill
myScale

myScale: scaling function
cleanEnvir

cleanEnvir: removes a list of variables from KTSEnv
assignMultiple

assignMultiple: assign multiple
checkIfAnyTs

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

A function to create random gaps
showHelp

showHelp: shows KarsTS help
pcaKTS

pcaKTS: principal component analysis
plotTimeSeries

plotTimeSeries: plot time series
mutInf

mutInf: mutual information
slopeOutliersBut

slopeOutliersBut: remove slope outliers
createRandName

createRandName: creates a random name
cumuKTS

cumuKTS: creates a cumulated time series
createTITLE

createTITLE: create a title on the input panel
determinismKTS

determinismKTS: estimate determinism
gamKTS

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

diffKTS: calculate differences of a time series
gapCheckedTF

gapCheckedTF: identifies checked gap sets
createCrossRMPlot

createCrossRMPlot: creates a cross recurrence plot
getOtherErrEstim

getOtherErrEstim: get some error estimates from a linear fit
getProTaos

getProTaos:calculate the probability of recurrence
createJointRM

createJointRM: creates a joint recurrence matrix
createDistMatrix

createDistMatrix: creates distance matrix
roundKTS

roundKTS: rounding
stinemannKTS

stinemannKTS: filling by Stinemann's interpolation
stlplusKTS

stlplusKTS: loess seasonal decomposition
E1dAndE2d

E1dAndE2d: invariants E1(d) and E2(d)
KarsTS-package

KarsTS
getMaxPosSlope

getMaxPosSlope: get the maximum negative slope
checkIfAnyGapTs

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

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

saveAllTypes: saves all types of data sets.
verifyDateEntry

verifyDateEntry: verify date entries
verifyIntEntry

verifyIntEntry: verify integer entries
getNAsGaps

getNAsGaps: get the gaps in a time series
laminarityKTS

laminarityKTS: estimate laminarity
createFANplot

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

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

fnn: plots embedding dimendion vs false nearest neighbors
createOK

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

functToExport: functions to export
createNote

createNote: creates a note on the input panel
createTitle

createTitle: creates a title in the input panel
createSubPanR4C1

createSubPanR4C1: creates the input panel on the main screen
linCorrKTS

linCorrKTS: linear correlation plot
getRecurrencePoints

A function to get recurrent points in a time series
createJointRMPlot

createJointRMPlot: creates a cross recurrence plot
readMultEntryvalues

readMultEntryvalues: verifies multiple entry values
getDelayCharTimes

getDelayCharTimes: transforms dates from character to numeric.
getFANRM2

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

mergeTsOrGap: merges time series or gap sets
getSamPerTable

getSamPerTable: get sampling periods table
getScreenSize

getScreenSize: gets the computer screen size
missForestKTS

missForestKTS: filling missing values with random forest algorithm
refreshDataSetsList

refreshDataSetsList: refreshes KarsTS data set list
createSimpleRMPlot

createSimpleRMPlot: creates a recurrence plot
saveReport

saveReport: saves report
removeAllTypes

removeAllTypes: removes data sets
scaleKTS

scaleKTS: scale time series
loadAllTypes

loadAllTypes: load all types of data sets
mutualKTS

mutualKTS: plots the mutual information
linearityKTS

linearityKTS: linearity tests
removeIfExists

removeIfExists: remove if exists
myApplyVector

myApplyVector: apply type function
removePoints

removePoints: graphically remove points from a time series
renameAllTypes

renameAllTypes: rename all types of data sets
naSplinesKTS

naSplinesKTS: filling by spline interpolation
naApproxKTS

naApproxKTS: filling by linear interpolation
rmCheckedTF

rmCheckedTF: identifies checked recurrence matrices
rmDetect

rmDetect: identifies the recurrence matrices currently loaded
createSpecGaps

createSpecGaps: creates a specific gap in a time series
selectionTS

selectionTS
verifyCharEntry

verifyCharEntry: verify character entries
tsDetect

tsDetect: identifies the time series currently loaded
setwdKTS

setwdKTS: set working directory
setCorrectDate

setCorrectDate: verifies date entry and returns proper output
separateEntry

separateEntry: separates and checks comma-separated entry values
windRoseKTS

windRoseKTS: wind rose
writeMethodSummary

writeMethodSummary: writes a summary of the filling method
theilerKTS

theilerKTS: apply Theiler's window via interface
tsCheckedTF

tsCheckedTF: identifies checked time series
getClassEnvir

getClassEnvir: get objects of a class from an environment
findDateFormat

findDateFormat: finds the format of a set of dates
findTwins

findTwins: finds twin points in a recurrence matrix
getCoordsKTS

getCoordsKTS: get coordinates from a plot
groupDates

groupDates: groups dates
stationarityKTS

stationarityKTS: stationarity tests
loadKarsTSFonts

loadKarsTSFonts: load KarsTS fonts
goodnessFilling

goodnessFilling: estimate the goodness of the filling
statisticsKTS

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

writeMethodTitle: writes a title on KarsTS output window
loessKTS

loess: loess smoothing
mainScreen

mainScreen: launches the main screen
normalityKTS

normalityKTS: normality tests
meanValue

meanValue: mean value filling
packagesToImport

packagesToImport: packages to import to KarsTS
rmSlopeOutliers

rmSlopeOutliers: slope filter
rollStatisticsKTS

rollStatisticsKTS: rolling statistics
scattTimeSeries

A function for plotting time series in the phase space
selectionGaps

selectionGaps: select gaps in a time series
verifyRealEntry

verifyRealEntry: verify character entries
welcomeScreen

welcomeScreen: launches the welcome screen
applyGap2TSer

applyGap2TSer: apply a gap set to a time series