search for: station3

Displaying 7 results from an estimated 7 matches for "station3".

Did you mean: station
2012 Apr 23
1
take data from a file to another according to their correlation coefficient
...008 00:15 -0.18 01/01/2008 00:30 -0.25 01/01/2008 00:45 -0.25 (one column with date + time every 15mn for the whole year, and one column with data). I already did correlation matrices between my weather stations (in order to find the nearest). For example: Station1 Station2 Station3 [...] Station1 1 0.9 0.8 Station2 0.9 1 0.7 Station3 0.8 0.7 1 [...] Now, I would like to fill the NA data gaps of a station with data from another station according to their correlation coefficient. Let'...
2012 Mar 19
3
Issue with asin()
...se(cond1,(meanT - Tseuil),0) } else{ stop("\nMethod name is invalid.\nMethods available = DDsin (sinus) or DDt2 (mean)\n") } return(DD) } BUT! When I try to process random data: library(reshape2) library(plyr) station <- rep(c("station1","station2","station3"), 20) values_min <- sample(-5:20, size = 60, replace = T) values_max <- sample(20:40, size = 60, replace = T) meanT <- ((values_min+values_max)/2) d <- data.frame(station,values_min,values_max,meanT) names(d) <- c("station", "values_min","values_max&quo...
2009 Mar 25
1
How to: Read Multi-filtes and sort to different files
new R user has a question: I have several hundreds of .txt files from different monitoring sites over several years. (1) different site has a unique name( such as : ST2.20090321.txt = Sation 2 2009 March 21 data, ST3.20090322=Station3, 2009, March 22 data). (2) different site has different file header, but for the same site, the header is the same. for example: Sation 2 date time wind CO2 2009 10:30 2 3 station 3 data time solar NO 2009 10:20 4 5 Question: How to write a "R" program to read all these files, and...
2007 Mar 19
4
matrix similarity comparison
Good morning to you all, I have a problem with a set of matrices that I want to compare. I want to see the similarity between them, and to be able to extract the differences between them. They have all the same number of columns and rows, and correspond presence absence data: for example: m1 <- matrix(c(1,0,0,0,1,0,1,1,1,1,1,1), 3,4) m2 <- matrix(c(1,0,1,0,1,0,0,1,0,1,0,1), 3,4) I
2006 Aug 08
0
gamm question
...am using gamm in mgcv). 1. In have, say 5 time series. Monthly data, 20 year. The 5 time series are from 5 stations. The data are in vectors, so I have fitted something along the lines of: tmp<-gamm(Y ~ s(Year,by=station1)+s(Year,by=station2)+ s(Year,by=station3)+s(Year,by=station4)+ s(Year,by=station5)+ factor(station)*factor(month), correlation=corAR1(form=~MyTime|station), famliy=gaussian) station is just a long vector with ones, twos, t...
2010 Feb 26
1
Automate generation of multiple reports using odfWeave
Dear R and odfWeave users, I am looking for a way to automate generation of many reports using odfWeave. All reports would use the same input ODT file, the only difference would be in the name of the dataset which will be analyzed in any particular report. Right now, the name of the dataset is hardcoded in the first code chuck in the input file: <<01 get data, echo=TRUE>> station =
2002 Jul 01
1
chi square residuals
...list, I'm a newbie with R but it seems very interesting to me. First, to train myself and students, I'd like to use it for teaching labs next year. one of my labs deals with the barn owl predation in my region. tudents have to work on a contingency table tytogrp : station1 station2 station3 ... n1,1 n1,2 n1,3 ... n2,1 n2,2 n2,3 ... n3,1 ... ... ... each column being a station and each row being a prey species. first, they have to manage with a chi square test for heterogeneity. I found how to manage that using ch...