similar to: renaming multiple columns + interpolating temperature series

Displaying 20 results from an estimated 100 matches similar to: "renaming multiple columns + interpolating temperature series"

2011 Jan 24
2
normality and equal variance testing
I currently have a program that automates 2-way ANOVA on a series of endpoints, but before the ANOVA is carried out I want the code to test the assumptions of normality and equal variance and report along with each anova result in the output file.  How can I do this? I have pasted below the code that I currently use.   library(car) numFiles = x #
2003 Oct 16
2
returning dynamic variable names from function
Within a function I'm assigning dynamic variable names and values to them using the "assign" function. I want to pass back the results but am uncertain how to do this. Basically, my function reads a number of data files and uses the filename of each file as the variable name for a list-to-become-dataframe. I want then to pass all these lists back, but again, the names of the
2001 Apr 10
2
clear R-objects inside a function?
Using RedHat Linux 7.0, R-1.2.2, R-hdf5-1.2 library, I want to load a dataset, do some stuff with it, then erase its objects, get an other, repeat. My friend wrote a function which tried to clear away all the objects. At the end, it uses rm() to remove objects. This is the same way we do it interactively, from the R prompt: testLoadSeveralHDF <- function(numFiles) { for (i in
2013 Jun 26
6
[PROGS PATCH] Import btrfs-extent-same
Originally from https://github.com/markfasheh/duperemove/blob/master/btrfs-extent-same.c Signed-off-by: Gabriel de Perthuis <g2p.code+btrfs@gmail.com> --- .gitignore | 1 + Makefile | 2 +- btrfs-extent-same.c | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+), 1 deletion(-) create mode 100644 btrfs-extent-same.c diff
2013 Jun 18
1
hist function in a for loop
Dear all, I need to create a for-loop in which I can compute multiple histograms My code is the following : #singlefile includes huge csv file #I want to specify the binsize #I would like to compute in the for -loop the histograms numfiles <- length(singlefile) for (i in 1 :51) { binsize <- -20 :20/2 hist(singlefile(singlefile$GVC[singlefile$new_id==i]], break=seq(),
2011 Jun 29
3
time series interpolation
Hi there, I?ve got a datatable in R which I try to interpolate with this and get the Error below: > new$temp<- approx(w03_11temp$temp, n = (nrow(w03_11temp)*5))$y Error in new$temp <- approx(w03_11temp$temp, n = (nrow(w03_11temp) * 5))$y : Object of type 'closure' not registered Any idea?? Thanks a lot. -- View this message in context:
2000 Dec 15
2
Ports
On Thu, 14 Dec 2000 10:06:39 +1100, Michael Smith wrote: >>I've done a port for OS/2 using Watcom C++, including a simple command line >>player based on vorbisfile_example.c, which can be downloaded from >>http://silk.apana.org.au/utils.html >>It'd be nice if my changes could be commited to CVS, should I just post >>patches here? > >Yes, unless
2000 Feb 29
0
samba task switchin'?
Hello! There is a problem with samba (tested: 2.0.5 6 and pre7) tested on Linux RH 5.2 RH6.0 and FreeBSD 3.3 and 3.4 (all the same result!) The problem is a group of programs written in Clarion ( still in active development, and working on different 1000000+ PC in many network/single configurations). This is some kind of financial/management software for small bussines. Databases are about 500K
2001 Sep 30
3
UTF-8 stuff
Here's a propsed heavy-duty solution for your UTF-8 problems. I'm including a patch in this message, but I'll put the new files on my web site at http://rano.org/tmp/xiph_files.tar.gz I've tested this by running vorbiscomment with and without -DHAVE_ICONV=1 in vorbis-tools/share/Makefile. It seems to work. Changed files: acinclude.m4: Add a test for nl_langinfo(CODESET). This
2011 Jul 06
1
accessing names of lists in a list
After importing multiple files to data.frames in R, I want to rename all their columns and do other operations with them. The data.frame names are not continuous like 1, 3, 4, 6. I could not find a way of creating a list of the data.frames and loop this and ended up putting them into a list first: # get all objects all.obj = sapply(ls(), get) # get data frames dfrs = all.obj[sapply(all.obj,
2012 Sep 06
5
centos email server suddenly much slower. What to do?
Greetings, I run my own email server for some domains I administer, on a centos vps server with a very small number of users. The only services are smtp, imap/pop, webmail Everything was running without problems until this morning. I left home for 1/2 hours, and when I came back everything had become about 100x slower (seriously!). The services were/are still all up and running, but practically
2006 Aug 03
1
Is it possible to interpolating variables in YAML files?
I''m attempting to store a value that''s dependent on an environment variable in a custom .yml file, like so: job_folder: "#{RAILS_ROOT}/jobs" Doesn''t seem to like that. Is there any way for me to have access to the RAILS_ROOT environment variable from inside of my configuration file? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jan 25
0
Interpolating spline problems and akima
Hi everyone I was using spline to interpolate single or two consecutive missing data points in time series. However, when it comes to longer gaps in the data the spline function generate new data for both my known and unknown data (see below). Aside from not understanding why this happens, I thought thought I might try function "aspline" in library (akima). However, I cannot install or
2002 Sep 16
0
Interpolating variables into quoted strings
William M. Fitchen <William_Fitchen at oxy.com> wrote on 12/19/01: > I am new to R and am coming from a Perl background. I have had trouble > figuring out from the documentation how to interpolate a variable into a > quoted string (if it's possible).... In perl I could write: > $name = "John"; > print STDOUT "Hi $name, how's it
2006 May 31
1
interpolating a lot of data at once
I have a big dataset containing a lot of values for 1970, 1980 and 1990. I want to interpolate values for the years in between, and also if possible to extrapolate to 1968 and 1969. The method doesn't have to be clever but I am looking for a function that will do all the data at once. (Doing foreach, or apply, is just too slow!) Is there something that will take list(df$val.1970, df$val.1980,
2011 May 05
2
quick question : interpolating file name in pipe command
Hi Guys I am trying to read a bunch of files in the loop but pipe function which I use to cut few columns is somehow unable to interpolate the file variable. eg: > file="check.txt" > data <- read.table(pipe("cut -f 2,3 file"), sep="\t", col.names=c('pos','cov') ) cut: file: No such file or directory how can I pass variable file to pipe
2005 Sep 08
1
Interpolating / smoothing missing time series data
The purpose of this email is to ask for pre-built procedures or techniques for smoothing and interpolating missing time series data. I've made some headway on my problem in my spare time. I started with an irregular time series with lots of missing data. It even had duplicated data. Thanks to zoo, I've cleaned that up -- now I have a regular time series with lots of NA's.
2007 Oct 01
1
merging, interpolating two simulataneous time series
I have a time series for two variables measured simultaneously, but at different intervals. The variables are not independent, so the patterns in the times series are very similar (one variable goes up when the other goes up, etc). For example, let's pretend my data look something like this (but with more noise)... var1_times<-c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) var1_values<-c(0,
2001 Dec 19
2
Interpolating variables into quoted strings
Hello I am new to R and am coming from a Perl background. I have had trouble figuring out from the documentation how to interpolate a variable into a quoted string (if it's possible). This seems to be necessary when writing a script that must print out strings (for example plot legends) whose content is calculated during the execution of the script. In perl I could write: $name =
2008 Jul 28
1
Interpolating a line and then summing there values for a diurnal oxygen curve (zoo object)
#I would like to interpolate a straight line between 06/08/06 04:16:00 - 06/08/06 20:31:00 with values and then sum them. This is an estimate of ecosystem #respiration and I will be using this in a larger context(48 days of these diurnal curves), but for right now I am just trying to figure out how to do it for this one #day example. I have some other code for Ecosystem (stream) Metabolism that