search for: stinepack

Displaying 3 results from an estimated 3 matches for "stinepack".

2011 May 27
0
stinterp/spline - uniroot problem
...a Stineman interpolation). Then I would like to find the intersection of the curve with a horizontal line (e.g. 0). See below for a coding example. The root finding using 'uniroot' works fine if I fit the data with 'smooth.spline', but not if I fit the data with 'stinterp' (stinepack) or 'spline'. The error message is: ## using "predict" results in error message: no applicable method for 'predict' applied to an object of class "list" What does this mean? I would greatly appreciate any help in this. Obviously, I'm missing something ba...
2011 Sep 12
5
completing missing samples
Hello, I have a time-series that has some missing samples. I was thinking on completing them using either zero-order hold or linear interpolation. I am looking for an efiicient way (other than a loop...) of identifiying the missing time slots and filling them. Can you think of any methods that might help here? (obviously which(diff(time)>min(diff(time))) will give the locations, but what
2008 Mar 06
2
replace NA with 9999 in zoo object
This is the same set of data that I have been working with for those in the know. it is a matrix of ~174 columns and ~70,000 rows. I have it as a zoo object, but I could read it in as just a matrix as long as the date time stamp won't be corrupted. here is an example of what a column would look like: 1/1/06 12:00, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5,6 ,7, NA #read in with the