search for: schneid

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

2010 Apr 09
3
"fill in" values between rollapply
Hi, Sorry ahead of time for not including data with this question. Using rollapply to calculate mean values for 5 day blocks, I'd use this: Roll5mean <- rollapply(data, 5, mean, by=5, align = c("left")) My question is, can someone tell me how to fill in the days between each of these means with the previously calculated mean? If this doesn't make sense, I will clarify and
2002 Aug 23
3
y-axis with "break"
...n a "break" and the "rest" of the y-axis, let's say from 500 to 600. In order to make clear what I'm trying to do, I attached a figure. Is it possible to do this in R? Thanks for your help Nick _____________________________________________________________ Nicolas Schneider, PhD Student University of Bern Institute of Geography Climatology & Meteorology Hallerstrasse 12 CH-3012 Bern phone +41-31-631-8542 fax +41-31-631-8511 email schneid at giub.unibe.ch -------------- next part -------------- A non-text attachment was scrubbed... Name: axis.jpg Type: image/j...
2012 Oct 21
2
help speeding up simple Theil regression function
Hello, I am working on a simple non-parametric (Theil) regression function and and am following Hollander and Wolfe 1999 text. I would like some help making my function faster. I have compared with pre-packaged version from "MBLM", which isnt very fast either, but it appears mine is faster with N = 1000 (see results below). I plan on running this function repeatedly, and I generally
2010 Jul 06
1
information reduction-database management question
If you redefine your NAs as below to be detected as some arbitrary large number, then the code should work through. Any 5's left in your dataset can be replaced just as easily by NAs again. Not elegant, but effective. site <- c("s1", "s1", "s1", "s2","s2", "s2") pref <- c(1, 2, 3, 1, 2, 3) R1 <- c(NA, NA, 1, NA,NA,NA) R2
2010 Jan 24
1
auto reading in multiple txt files with filename as 1st column "ID"
Hi, I have many .txt files which look like this: 2009/02/07 12:30:10.0 ? ? ?5.0161 ? ? ?13.208 2009/02/07 12:45:10.0 ? ? ?5.0102 ? ? ?13.350 2009/02/07 13:00:10.0 ? ? ?5.0044 ? ? ?13.473 .... .... .... 2009/02/07 16:30:10.0 ? ? ?4.9366 ? ? ?13.788 2009/02/07 16:45:10.0 ? ? ?4.9397 ? ? ?13.798 end data. ###I can read in all files from "my_folder" using the following code:
2011 Jul 13
1
Ubuntu 10.04 and R: dependency problems
Hello, I'm not sure if this is the correct place to post this, but please help if you can. I have Ubuntu 10.04 OS and was running R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) I recently had problems using install.packages() to get 'maps' and 'mapproj' anyway, long story
2009 May 13
8
read multiple large files into one dataframe
Hello Apologies if this is a simple question, I have searched the help and have not managed to work out a solution. Does anybody know an efficient method for reading many text files of the same format into one table/dataframe? I have around 90 files that contain continuous data over 3 months but that are split into individual days data and I need the whole 3 months in one file for
2010 Apr 01
2
time series problem: time points don't match
Hi, I have a time series problem that I would like some help with if you have the time. I have many data from many sites that look like this: Site.1 date time level temp 2009/10/01 00:01:52.0 2.8797 18.401 2009/10/01 00:16:52.0 2.8769 18.382 2009/10/01 00:31:52.0 2.8708 18.309 2009/10/01 00:46:52.0 2.8728 18.285 2009/10/01 01:01:52.0