Description Usage Arguments Details Value Author(s) See Also Examples
A convenience function to load timeseries data into R based on the standardized format used by Lake Analyzer.
| 1 | load.ts(fPath, tz="GMT")
 | 
| fPath | The file path as a string. | 
| tz | Timezone string to be supplied to  | 
Timeseries files must follow a common format. The first column must have the label 'datetime' and be of the format yyyy-mm-dd HH:MM:SS (ISO 8601 without the "T" delimiter). The second can be skipped if not using sub-minute data.
A data frame in the required format for use with other rLakeAnalyzer timeseries functions.
Luke Winslow
For dataloading ts.meta.depths, 
For analyzing timeseries data, see ts.meta.depths, ts.thermo.depth, ts.schmidt.stability,
ts.lake.number.
| 1 2 3 4 5 6 7 8 9 10 | 	#Get the path for the package example file included
	exampleFilePath <- system.file('extdata', 'Sparkling.wtr', package="rLakeAnalyzer")
	
	#Load
	sparkling.temp = load.ts(exampleFilePath)
	
	#calculate and plot the thermocline depth
	t.d = ts.thermo.depth(sparkling.temp)
	
	plot(t.d$datetime, t.d$thermo.depth, type='l', ylab='Thermocline Depth (m)', xlab='Date')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.