Displaying 1 result from an estimated 1 matches for "specprop".
Did you mean:
setprop
2009 Aug 17
1
help with functions "spec" and "specprop"
...pan a number of
consecutive breathing cycles should not be naively removed as they carry a lot of useful information.
In advance of applying any trend removing technique, I have to extract the main period and save it.
I thought it would be an easy task through functions "spec" and "specprop". But I cannot get them to work for me.
Here is my simple exercise:
> length(amp)
[1] 3885
> amp.sp <- spec(amp,f=0.033)
> specprop(amp.sp,f=0.033,str=TRUE,plot=1)
Error in specprop(amp.sp, f = 0.033, str = TRUE, plot = 1) :
Frequency resolution is to high (<0.5 hz)
> spe...