search for: days

Displaying 20 results from an estimated 47800 matches for "days".

Did you mean: day
2007 Dec 03
3
Ordering the levels of a vector
...g like this: day<-c('Day -1','Day 6','Day 10') This vector specifies the order in which several panel will appear in a lattice plots. But the order in which such plots will appear will be the following: Day -1, Day 10, Day 6. Which makes sense, but I cannot name the Days like this: Day -01,Day 10, Day 06, which would put the levels in the order I want them to be. Now, this vector won't always have the same values, it could be: day<-c('Day -1, 'Day 2','Day 14') So I cannot set the levels manually: levels(day)<-c('Day -1'...
2009 Dec 08
0
Holiday Gift Perl Script for US Holiday Dummy Regressors
...may be important for # extra processing and what not. # # You may need to set yout TZ environment variable if the script cannot # determine your time zone from the system (e.g. SET TZ=CST ) ###### use Getopt::Long; use Date::Manip; use Spreadsheet::WriteExcel; use Calendar::Functions; use Date::Holidays::USFederal; use Set::Array; use POSIX qw/strftime/; use Time::Local; my @regressors = (); #my $holidays = Date::Holidays->new(countrycode => 'us'); $result = GetOptions ("start|s=s" => \$start, "end|e=s" => \$end, "scope|c=s" => \$scope,...
2009 Dec 08
0
Opps Correct Version of Holiday Regressor Perl Script
...y be important for # extra processing and what not. # # You may need to set yout TZ environment variable if the script cannot # determine your time zone from the system (e.g. SET TZ=CST ) ###### use Getopt::Long; use Date::Manip; use Spreadsheet::WriteExcel; use Calendar::Functions; use Date::Holidays::USFederal; #use Date::Holidays; use Set::Array; use POSIX qw/strftime/; use Time::Local; my @regressors = (); #my $holidays = Date::Holidays->new(countrycode => 'us'); $result = GetOptions ("start|s=s" => \$start, "end|e=s" => \$end, "scope|c=s&...
2008 Dec 15
1
Movement within a circle
...wall, but?I don't seem to be able to get this right. ?Would somebody?be able to?give me a hint ? This is my code so far, the particle starts at some point and moves towards the wall, but I don't get the "bouncing off" part right?. ? Any help would be much appreciated. ? Juliane ? days=10 circularspace=data.frame(day=c(0:days),xcoord=1,ycoord=1,xvelocity=1,yvelocity=1,xdistwall=0, ydistwall=0, wallxvel=0, wallyvel=0,stochasticxvel=0,stochasticyvel=0) xmax=10 xmin=-10 ymax=10 ymin=-10 mindist=8 plot(xmin:xmax, ymin:ymax, type = "n") circularspace radius=10 timesteplength...
2008 Dec 15
1
Semi-random movement inside a circle
...the wall, but I don't seem to be able to get this right. Would somebody kindly give me a hint ? This is my code so far, the particle starts at some point and moves towards the wall, but I don't get the "bouncing off" part right . Any help would be much appreciated. Juliane days=10 circularspace=data.frame(day=c(0:days),xcoord=1,ycoord=1,xvelocity=1,yvelocity=1,xdistwall=0, ydistwall=0, wallxvel=0, wallyvel=0,stochasticxvel=0,stochasticyvel=0) xmax=10 xmin=-10 ymax=10 ymin=-10 mindist=8 plot(xmin:xmax, ymin:ymax, type = "n") circularspace radius=10 timesteplength...
2011 Nov 15
2
Models with ordered and unordered factors
Hello; I am having a problems with the interpretation of models using ordered or unordered predictors. I am running models in lmer but I will try to give a simplified example data set using lm. Both in the example and in my real data set I use a predictor variable referring to 3 consecutive days of an experiment. It is a factor, and I thought it would be more correct to consider it ordered. Below is my example code with my comments/ideas along it. Can someone help me to understand what is happening? Thanks a lot in advance; Catarina Miranda y<-c(72,25,24,2,18,38,62,30,78,34,67,21,97...
2017 Dec 15
1
Milestone: 12,000 packages on CRAN
CRAN reached 12,000 packages [1] today (December 15, 2017). A huge thank you to the CRAN team! Milestones: 2017-12-15 12000 pkgs (+6.1/day over 165 days) 6910 mnts (+3.2/day) 2017-07-04 11000 pkgs (+6.3/day over 159 days) 6377 mnts (+3.3/day) 2017-01-27 10000 pkgs (+6.3/day over 158 days) 5845 mnts (+3.5/day) 2016-08-22 9000 pkgs (+5.7/day over 175 days) 5289 mnts (+5.8/day) 2016-02-29 8000 pkgs (+5.0/day over 201 days) 4279 mnts (+0.7/day) 2015-08...
2006 Feb 08
2
lme syntax for P&B examples
Hi helpeRs, I've been working through some examples in Pinhiero & Bates( 2000) trying to understand how to translate to the new Lme4 syntax but without much luck. Below is what I think I should do, but either the answers don't come out the same or I get errors. In the Oxide problems I'm particularly interested in obtaining the levels coeficients but this options no longer seems
2005 May 10
58
A quick straw poll
How many of you are using Rails: 1. As the primary development tool at your Day Job 2. As a small part of your Day Job 3. Not using Rails in your Day Job, but are using Ruby 4. For OS/outside work/hobby -- sam http://www.magpiebrain.com/
2004 Mar 01
6
Find out the day of week for a chron object?
...004" which is correct. I also know that I can say: print(day.of.week(3,1,2004)) in which case he says 1, for today is monday. My question is: How do I combine these two!? :-) I have a data file which is being parsed nicely and read in using the chron() function. I need to identify fridays and treat them differently. So I need to run the day.of.week function. But day.of.week() doesn't eat a chron object, he insists he wants m,d,y. This seems quite odd. Any idea what I can do? Thanks, -ans. -- Ajay Shah Consultant ajays...
2011 Jul 12
2
time zone - any practical solution?
...------------------------- When data imported from Excel 2007 into R (2.13) all time variables, depending on date (summer or winter) get (un-asked for it!) a time zone addition CEST (for summer dates) or CET (for winter dates). > Dataset Start End1 End2 days2End1.from.Excel days2End2.from.Excel days2End1.in.R days2End2.in.R 1 2010-01-01 2011-01-01 2012-01-01 365 730 365 days 730.0000 days 2 2010-02-01 2011-02-01 2012-01-01 365...
2010 Nov 27
3
Two time measures
Hello! I have a csv file of intra-day financial data (5-min closing prices) that looks like this: (obs - the dates are formated as day/month/year, as is usual here in Brazil) Date;Time;Close 01/09/2009;10:00;56567 01/09/2009;10:05;56463 01/09/2009;10:10;56370 ##(goes on all day) 01/09/2009;16:45;55771 01/09/2009;16:50;55823 01/09/2009;16:55;55814 ##(jumps to the subsequent day)
2017 Jan 28
2
Subject: Milestone: 10000 packages on CRAN
...nd to various online services that simplify package development. We can all give back by carefully reporting bugs to the maintainers, properly citing packages we use in publications (see citation("pkg")), and help newcomers to use R. Milestones: 2017-01-27 10000 pkgs (+6.3/day over 158 days) 5845 mnts (+3.5/day) 2016-08-22 9000 pkgs (+5.7/day over 175 days) 5289 mnts (+5.8/day) 2016-02-29 8000 pkgs (+5.0/day over 201 days) 4279 mnts (+0.7/day) 2015-08-12 7000 pkgs (+3.4/day over 287 days) 4130 mnts (+2.4/day) 2014-10-29 6000 pkgs (+3.0/day over 335 days) 3444 mnts (+1.6/day) 2013-11-0...
2012 Sep 06
2
No room for labels in barplot
All, I have: sales <- c(2300,900,155,102,42,10) names(sales) <- c("Christmas","Valentine's Day", "Mother's Day","Father's Day", "Thanksgiving","New Year's Day") barplot(sales,ylim=c(0,2500)) But it doesn't place all of the name labels on the plot. So I tried: sales <-
2013 Jan 13
1
Extract data in word pad
...000(PARTIAL) 33.8 at interval beginning 19720517 144507 19730629 080000(PARTIAL) 32.2 at interval beginning 19720910 135747   and so on...   The original data set are given below:       Year Ending           Maximum Value (Rain mm)  Gap from 19710509 090000 to 19710607 080000 of   28.96 Days 19710629 080000(PARTIAL)       39.3 at interval beginning 19701126 010326  Gap from 19710809 110221 to 19710816 080000 of    6.87 Days  Gap from 19720207 070000 to 19720303 080000 of   25.04 Days  Gap from 19720424 070000 to 19720504 080000 of   10.04 Days 19720629 080000(PARTIAL)       33.8 at int...
2010 Oct 30
2
grouping question
Hello I have what is probably a very simple grouping question however, given my limited exposure to R, I have not found a solution yet despite my research efforts and wild attempts at what I thought "might" produce some sort of result. I have a very simple list of integers that range between 1 and 24. These correspond to hours of the day. I am trying to create a grouping of Day and
2011 Jul 12
0
timezones - any practical solution?
...----------------------------- When data imported from Excel 2007 into R (2.13) all time variables, depending on date (summer or winter) get (un-asked for it!) a time zone addition CEST (for summer dates) or CET (for winter dates). > Dataset Start End1 End2 days2End1.from.Excel days2End2.from.Excel days2End1.in.R days2End2.in.R 1 2010-01-01 2011-01-01 2012-01-01 365 730 365 days 730.0000 days 2 2010-02-01 2011-02-01 2012-01-01 365...
2009 Nov 22
1
Input file format to Anova from car package
Dear list member, My question is related to input file format to an Anova from car package. Here is an example of what I did: My file format is like this (and I dislike the idea that I will need to recode it): Hormone day Block Treatment Plant Diameter High N.Leaves SH 23 1 1 1 3.19 25.3 2 SH 23 1 1 2 3.42 5.5 1 SH 23 1 2 1 2.19 5.2 2 SH 23 1 2 2 2.17 7.6 2 CH 23 1 1 1 3.64 6.5 2 CH 23 1 1 2
2010 Jun 21
2
Calculating a daily average
I have a set of data with 12 readings for temperature per day, with 180 days. I want to find the average temperature of each day. I am able to do this one by one, but with that many days to calculate the average for, it will get very long. I'm sure there is a faster way to do this, I just don't know how. What i have so far is: av1 <- subset(ER9r, Day ==...
2012 Dec 29
1
AIC values with lmer and anova function
...randomly divided into 3 groups ("c", "t1", "t2"). There is no need for inclusion of the random effect of the intercept, because the nine sample units are homogeneous among each other (samples taken from the same culture). The algal concentration was measured every two days for 10 days. The goal is to test differences between treatments. I estimated a model with only the intercept and the interaction Group * Day to test which is the best: library(nlme) library(lme4) Day = rep(c(0,2,4,6,8,10),each=9) Group = rep(c("c","c","c","t1&qu...