Displaying 20 results from an estimated 110 matches similar to: "Formatting outputs:(chronological object)"
2009 Sep 17
3
Help with date specification
Hi everyone,I have a data daily data (x) for 10 years starting from
04-01-1995 to 03-31-2005.
I was able to get the yearly sum for the ten years using
aggregate(x, years, sum).
But this gave me the yearly sum for 1995 (Apr- Dec); 1996 (Jan-Dec)
---------2005 (Jan-Mar).
But I want to get the aggregates for Apr-1995 to Mar 1996, Apr 1996- mar
1997 and so on.
your help will be higly appreciated.
2009 Dec 07
2
Filtering a zoo object based on index of another object
Hello everybody,
I have two datasets, observed and predicted.
Since my observed dataset is not in regular intervals, I need to filter my
predicted dataset based on the measurement date of my observed data.
Here, is an example similar to what I have
library(chron);library(zoo)
DATE<- seq(as.Date("2009-01-01"), as.Date("2009-05-01"), by = 1)
mydat<- rnorm(length(DATE),
2009 Sep 09
2
Help with data containing date
Hello Everyone,I think this is a very simple problem, I have been struggling
with it for a few days now.
I have a 10-year daily data in the following format.
Date A B C D E
1978-10-22 18 20.64 0.0 0.176 -1.76
1978-10-23 15 17.06 0.4 0.147 2.52
1978-10-24 3 7.588 0.0 0.068 -6.86
1978-10-25 9 11.491 0.0 0.102
2010 Jun 04
2
Help with iteration using while loop
Hello everyone,
I am trying to use while loop to iterate a function until convergence. But I
am having problem when I try to use a fixed number of iterations.
Say I want to use maximum iteration of 150. If the value don't converge
within maximum iteration, show warning of no convergence.
Currently I don't have non- convergence problem so I think my code works
fine. But in future I may
2010 Jun 14
1
avoid row/column indexing in capture.output
Hi everyone,
This might be a very petty thing but Its not working for me.
I want to export an output to a txt file but without indexing.
Here is what I have tried to do
outfile<- function(Time, var.names, output) {
var.names = c(names(para))
for(i in 1: ncol(output)){
cat(length(var.names), '\n')
cat("A", "S", "C", "I", '\n')
2009 Oct 27
1
option to control the spac between columns in data frame
Hello,
I have a question regarding a way to control the appreance of output
exported by R
when I use capture.output( x, file = "Directory/file.txt") , I get a text
file which when I paste to a word file looks like the first table below.
The following table has its clumns spaced closely so when I paste it to a
word file it looks continuous. Is there any option in R to make the outputs
2010 Apr 26
1
finite difference scheme for 2D differential equations
Hello everyone,
I am trying to solve 2D differential equations using finite difference
scheme in R. I have been able to work with the equations with only one
spatial dimensions but I want to extend it to the two dimensional problem.
For example i can simulate one dimensional diffusion using a code like the
following. But I want to write a similar code for,say, a two dimensional
diffusion
2009 Sep 08
1
Help with use of rep function in R
Dear List,I am trying to use rep function in the following conditions
A = c( 5, 6, 7, 11, 9, 12, 10, 15)
B = c(12,15, 21, 31, 25, 27,32, *34*,13,12, 34, 33, 24, 29, 26,
*28*,22,14,27,22,21,12,32,
16)
I need to repeat each element of A, as many times as each element of B, for
the entire length of B.
for example,
repeat 5, for 12 times, 6 for 15 times,........, 15 for 34 times, and then,
again, 5
2007 Apr 18
0
chronological quietness
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070318/2db0e160/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backward.gif
Type: image/gif
Size: 29201 bytes
Desc: not available
Url :
2004 Jun 23
0
chronological clustering
Does anybody know of any R functions to perform chronological clustering
as explained in:
Legendre, P., S. Dallot & L. Legendre. 1985. Succession of species
within a community: chronological clustering, with applications to
marine and freshwater zooplankton. American Naturalist 125: 257-288.
http://www.fas.umontreal.ca/BIOL/legendre/reprints/succession_of_species.pdf
Thanks,
Angel
2007 Apr 18
0
chronological quietness
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070318/2db0e160/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backward.gif
Type: image/gif
Size: 29201 bytes
Desc: not available
Url :
2007 Mar 08
1
chronological scatterplots
Greets Folks,
I've been wrestling with how to better control plotting of time data and
just can't seem to see the right path. My dataset has thousands of points
distributes across a number of years. I would like to plot the responses
according to increasing time with nice boundaries - perhaps integer months
- along the abscissa. However, the earliest time occurs mid-month and I
2007 Oct 16
1
Chronological data manipulation question
Hi all,
I currently work on a survey which contains biographical data stored
in a chronological way, ie something like :
id year variable
001 2000 0
001 2001 0
001 2002 1
001 2003 0
002 1996 0
002 1997 0
002 1998 1
002 1999 0
002 2000 0
where id is a person identifier, year the year of observation and
variable the
2005 Apr 16
2
"chronological" ordering of factor in lm() and plot()
I am trying to do some basic regression and ANOVA on cycle times (numeric
vectors) across weekdays (character vector), where I have simply labelled my
days as:
days<- c("mon","tue","wed"...etc).
(NOTE: There are actually multiple instances of each day, and the data is
read-in from a .dat file.)
I have no trouble at all with the actual number crunching, It is the
2011 Jan 28
4
Months in alphabetical order rather than chronological order in graph
Greetings
Though I have months in chronological order in my data table, the data
were sampled every other month (i.e., February, April, June, August,
October, December), every time I try to plot them (on the x-axis) they are
plotted in alphabetical order. What am I missing?
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Ecologist
EEO
2006 Feb 16
0
FW: Help required on Samba software
> -----Original Message-----
> From: Khawade, Kirtikumar (GE Infra, Transportation)
> Sent: Wednesday, February 15, 2006 7:49 PM
> To: 'srinivas.prasad@yukthi.com'; 'sales@deeproot.co.in'; 'info@thelinuxconsultancy.co.uk'; 'info@stelias.com'
> Cc: Pai, Usha S (GE Infra, Transportation); Khadmale, Subodh (GE Infra, Transportation); Nk, Radha (GE
2012 Nov 20
2
Ordering List Items Chronologically
Dear colleagues,
Is there a way to order list items by date? I have a series of surveys in a list where the name of each list item is the date the survey was taken but the list items are out of order. Each data frame has a variable in it with the survey date as well, if that helps.
Yours, Simon Kiss
#Sample Data
mylist<-list('1991-01-01'=data.frame(a=rep(5,5),
2008 Jan 25
2
'Best penalty' in design package
Dear Users,
In case of ridge logistic regression, i want to calculate the optimum
penalty using aic and bic criteria. Here is the sample code:
fit <- lrm(RES ~CAT01+NUM01+NUM02+CAT02+CAT03+CAT04+NUM03+CAT05+CAT06+NUM04+
CAT07+CAT08+NUM05+NUM06, data = train.data, x = TRUE, y = TRUE)
pentrace(fit, penalty = list(seq(.001, 5, by=.1)))
output:
Best penalty:
penalty df
1.001
2013 Mar 18
0
[linux-linus test] 17325: regressions - trouble: broken/fail/pass
flight 17325 linux-linus real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/17325/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl 9 guest-start fail REGR. vs. 12557
test-amd64-i386-xl-credit2 15 guest-stop fail REGR. vs. 12557
test-amd64-i386-xl 15 guest-stop
2013 Mar 29
0
[linux-linus test] 17454: regressions - FAIL
flight 17454 linux-linus real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/17454/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-pair 17 guest-migrate/src_host/dst_host fail REGR. vs. 12557
Regressions which are regarded as allowable (not blocking):
test-amd64-i386-qemut-rhel6hvm-amd 7 redhat-install fail