Thank you very much for all those solutions.
On 11-12-12, David Winsemius wrote:
>
> On Dec 11, 2012, at 3:17 AM, Swagath Navin wrote:
>
> >Dear all,
> >
> >I have a big file containing latitude points(-10 to 80) and corresponding
> >values.
> >Example data
> >
> >Lat=c(69.48134, 69.49439, 69
On Dec 11, 2012, at 3:17 AM, Swagath Navin wrote:
Dear all,
I have a big file containing latitude points(-10 to 80) and
corresponding values.
Example data
Lat=c(69.48134, 69.49439, 69.50736, 69.52026, 69.52438, 69.53308,
69.53746, 69.54365, 69.54582, 69.6884, 69.69272, 69.998, 70.00055,
: Re: [R] Latitudinal mean of values in a data frame
Hello, again.
Another possibility is
aggregate(Value, by = list(floor(Lat)), FUN = mean)
Rui Barradas
Em 11-12-2012 11:17, Swagath Navin escreveu:
> Dear all,
>
> I have a big file containing latitude points(-10 to 80) and corr
Hello, again.
Another possibility is
aggregate(Value, by = list(floor(Lat)), FUN = mean)
Rui Barradas
Em 11-12-2012 11:17, Swagath Navin escreveu:
Dear all,
I have a big file containing latitude points(-10 to 80) and
corresponding values.
Example data
Lat=c(69.48134, 69.49439, 69.50736, 69
Hello,
Try the following.
tapply(Value, floor(Lat), FUN = mean)
6970
0.1805381 0.1617072
Hope this helps,
Rui Barradas
Em 11-12-2012 11:17, Swagath Navin escreveu:
Dear all,
I have a big file containing latitude points(-10 to 80) and
corresponding values.
Example data
Lat=
5 matches
Mail list logo