Displaying 5 results from an estimated 5 matches for "smpowers".
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,
2007 Nov 07
2
creating a dynamic output vector
Let's say I have a program that returns variables whose names may be any
string within the vector
NAMES=c("varA","varB","varC","varD","varE","varF"..."varZ"), but I do
not ever know which ones have actually been created. So in one example
output, "varA", "varC", and "varD" could exist, but
2007 Jul 16
2
print tables to figure in R
Doe anyone know of a way to print nice-looking, printer-friendly tables
directly in the R plot window? This would be very handy for examining
preliminary results from frequently used routines. I've hunted for this
with no luck. All anyone seems to do is export text files to excel for
formatting, or use the print(bla) function which just calls the numbers
at the command line. There must be
2007 Sep 09
1
writing complex outputs to table
So I've come across a few cases where complex outputs from functions
will not write to tables. The most recent case involves the TukeyHSD
function in the stats package. If I save the TukeyHSD call and print it,
that obviously goes fine, but when I try writing to a table, I get an
error message that says "cannot coerce class \multicomp\" into
dataframe. What does this mean, and
2007 Aug 22
1
open/execute/call/run an external file
I'm trying to figure out how to trigger a process from within R. I have an exectuable file that runs a Fortran model, but ideally, would like to run it from R. Note that I'm not talking about importing the function at all, passing variables, or anything complicated like that. I basically just want a script that "double-clicks" on a particular file and opens/runs it for me.
The