search for: przeczek

Displaying 8 results from an estimated 8 matches for "przeczek".

2009 Mar 19
1
subtract values
...dPpt=dPpt[seq(1,length(dPpt),24)] But it had many errors. I also tried using diff(Bk$cumPrecip, lag=23) but this moves through the data one step at a time and thus calculates a value for every hour of each day, not just midnight. Thank you very much for your time and assistance! Kara Kara Przeczek M.Sc. Candidate NRES - Environmental Science University of Northern B.C. 3333 University Way Prince George B.C V2N 4Z9 Phone: (250) 960-5427 przeczek at unbc.ca
2010 Feb 10
2
sum sections of data of different lengths from within a data frame
Dear R Help: I am trying to sum data from one column in a dataframe based on a value in another. I do not know how to do this easily in R. For example: Col A Col B 1 0 3 0 2 1 2 0 1 0 4 0 1 1 9 1 3 0 5 0 2 1 I would like to cumsum the values in Col A for all rows where Col B is 0, and a value of 1 in Col B will reset
2011 Jun 13
1
maintaining row connections during aggregate
Dear All, I have several sets of data such as this: year jday avg_m3s 1 1960 1 4.262307 2 1960 2 4.242308 3 1960 3 4.216923 4 1960 4 4.185385 5 1960 5 4.151538 6 1960 6 4.133846 ... There is a value for each day of multiple years. In this particular data set it goes up to 1974. I am am looking to obtain the minimum and maximum values for each year, but also know on which
2012 Feb 23
1
perform t.test by rows and columns in data frame
Dear R Help, I have been struggling with this problem without making much headway. I am attempting to avoid using a loop, and would appreciate any suggestions you may have. I am not well versed in R and apologize in advance if I have missed something obvious. I have a data set with multiple sites along a river where metal concentrations were measured. Three sites are located upstream of a mine
2008 Nov 21
3
HELP
[This email is either empty or too large to be displayed at this time]
2011 Jun 23
1
else problem
Dear R users, I have run into a problem using if...else and I hope you can shed some light on it. I am using R version 2.2.0.1. I have the following data frame: > head(dat2f) year tot_km3y [1,] 1964 0.1876854 [2,] 1965 0.1835116 [3,] 1966 0.1915012 [4,] 1967 0.1869758 [5,] 1968 0.2249865 [6,] 1969 0.1916011 I need to pick out the median year, and since there are an even number of data,
2013 Jul 10
0
how to adjust the x axis range based on y axis data
I am using R studio version 0.97.336. I am trying to produce multiple figures based on a large data set (98010 rows). I am creating a plot for each TITLE (related to a variable/station combination). #Create a plot for each Title. Save all plots as jpegs in folder named "SkeenaQfigs" for(i in 1:nlevels(dt$TITLE)){ tmp.title <- subset(dt, TITLE == levels(dt$TITLE)[i]) #save
2009 Aug 18
1
second y-axis in lattice xyplot
Dear R-help, I recently discovered lattice xyplot, but have been struggling with plotting a second y-axis. I am able to do this with plot() but can't figure it out in xyplot. Any help would be appreciated. I have found help on adding a second Y-axis when the data is all part of the same data frame, but I have two different data frames. Both data sets are being plotted against "Date".