Assuming that the data are sampled at equal intervals, you can do the
following:
A <- matrix(scan("h:/test/junk.txt"), ncol=2, by=T) # I read your data in
# the following plots show that the 3rd set of data (in green) is smoothest
plot(A[1:11,1], A[1:11,2], type="o")
lines(A[12:22,1], A[12:22,2]
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Al Lelopath
> Sent: Tuesday, November 27, 2007 8:20 AM
> To: r-help@r-project.org
> Subject: [R] measure smoothness
>
> I have 3 sets of Cartesian data, one is 'original' data and the other
> 2 are "sm
2 matches
Mail list logo