search for: dow

Displaying 20 results from an estimated 170 matches for "dow".

Did you mean: do
2012 Nov 12
5
Matrix to data frame conversion
.... Why did I fail in the attempt and how can I achieve what I wanted without this roundabouts? The original matrix: > str(comb_model0) num [1:90, 1:4] 3.5938 0.0274 0.0342 0.0135 0.0207 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:90] "(Intercept)" "as.factor(dow)1" "as.factor(dow)2" "as.factor(dow)3" ... ..$ : chr [1:4] "Estimate" "Std. Error" "t value" "Pr(>|t|)" > dim(comb_model0) [1] 90 4 > class(comb_model0) [1] "matrix" > > > head(comb_model0,10)...
2010 Feb 26
7
How to add a variable to a dataframe whose values are conditional upon the values of an existing variable
...idered simple by a more experienced R user. I want to know how to add a variable to a dataframe whose values?are conditional?on the values of an existing?variable.?I can't seem to make an ifelse statement work?for my situation.?The existing variable?in my dataframe is?a character variable named DOW which contains abbreviated day names (SAT, SUN, MON.....FRI). I want to add a numerical variable named DOW1 to my dataframe that will?take?on the value?1 if DOW equals "SAT", 2 if DOW equals "SUN", 3 if DOW equals "MON",.....,7 if DOW equals "FRI". I? know t...
2010 Mar 05
2
How to assign week numbers to a time-series
...lp me out. The dataframe below contains only a fraction of the data of my complete dataframe, but all of the variables. What I want to do is add another variable named 'WEEK' to this dataframe that is assigned 1 for row 1 and remains 1 until the first SAT (i.e. Saturday) under variable 'DOW' (day of week) occurs, at which point variable 'WEEK' is now assigned 2. 'WEEK' should continue to be assigned 2 until the following SAT under variable 'DOW' at which variable 'WEEK' will now be assigned 3, and so on. In this scheme, weekdays are such that SAT=1,...
2008 Jul 24
3
DoW Soulstorm crack
I was wondering if anyone has been able to get DoW Soulstorm Running on their Wine. I've looked at several forum lines, and no one seems to have been able to crack it yet. From what i've gathered, the reason it wont work is because of the cd check. If i were able to crack the game so it didnt check for the cd, would it work then? I'm ve...
2005 Jan 25
2
Having problems running palm desktop or the uninstall program
I have a user John Dow on a local machine johnsmachine. I have a samba user jdow. When I moved the profile john dow to the domain keydomain, I can't get the install program to run. This is how it looks. I have local profile johnsmachine/John Dow and roaming profile keydomain/jdow. When logged into profile...
2006 Jun 15
3
Can I call MySql statements directly??
Hi All. I have a mysql statement that I would really really like to call from my Ruby program which goes like this: SELECT a, b, DAYOFWEEK(date_time) as DOW, HOUR(date_time) at hr, AVG(x/y) FROM records; This is possible by creating a 3-dimentional array of a, b, date_time containing x/y, and then finding averages and putting it into a 4-dimensional array of a, b, dow, and hr. _3-dim_array_ a b date_time _4-dim_array_ a b...
2006 Aug 26
0
Processed: Re: Bug#384638: Dom0 dows not boot with kernel package linux-image-2.6.16-2-xen-686 version 2.6.16-18
Processing commands for control@bugs.debian.org: > severity 384638 important Bug#384638: Dom0 dows not boot with kernel package linux-image-2.6.16-2-xen-686 version 2.6.16-18 Severity set to `important' from `critical' > reassign 384638 xen-3.0 Bug#384638: Dom0 dows not boot with kernel package linux-image-2.6.16-2-xen-686 version 2.6.16-18 Bug reassigned from package `linux-image-2...
2011 Mar 09
2
Complex sampling?
R users, I am trying to generate a randomized weekday survey schedule that ensures even coverage of weekdays in the sample, where the distribution of variable DOW is random with respect to WEEK. To accomplish this I need to randomly sample without replacement two weekdays per week for each of 27 weeks (only 5 are shown). However, I need to sample from a sequence (3:7) that needs to be completely depleted and replenished until the final selection is made....
2012 Feb 17
1
R's list data structure
Given dayOfWeekName<-c("Mon","Tue","Wed","Thu","Fri","Sat","Sun"); dayOfWeekOrdinal<-c(1,2,3,4,5,6,0); dayOfWeekWorkDay<-c(TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE); weekProfile<-list(dow=dayOfWeekName,dowI=dayOfWeekOrdinal,dowW=dayOfWeekWorkDay) 1. How can I conditionally get dow, dowI, and dowW from weekProfile? If another 'arrangement' of this list object will make this task easier, please advise. 2. What is the point of the list object? I know that when mixed data t...
2011 Feb 10
1
Conditional sampling
R experts, I need to sample two rows without replacement from the following data frame such that neither row contains the same 'DOW'. For example, I cannot select both a Monday morning and a Monday afternoon. I am using STRATA_NUM as an index to randomly select rows from, since this variable indexes all unique permutations of DOW, SITE, and TOD. I know how to use the sample function to select rows, I just don't know...
2006 Jan 05
1
sortable_element not recognizing newly added <li> elements
...n I dynamically add another <li> item to this list, the newly added item is _not_ "draggable" like its other siblings. Using the sortable_element function, how do I make it aware of newly added list items? Here is my current sortable_element definition. <%= sortable_element dow + ''orderList'', :complete => visual_effect(:highlight, "status", :duration => 0.5 ), :url => { :action => ''updateOrder'', :dow => dow } %> TIA. Jim -------------- next part -------------- An HTML attachment was scru...
2003 May 21
0
gastman segmentation fault when pressing 'en ter' in a command win dow
...-config --version 1.2.10 AZ -----Original Message----- From: Tilghman Lesher [mailto:tilghman@mail.jeffandtilghman.com] Sent: Wednesday, May 21, 2003 2:27 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] gastman segmentation fault when pressing 'enter' in a command win dow On Wednesday 21 May 2003 01:22 pm, Alex Zarubin wrote: > Gastman (cvs 05/21/03) coredumps when entering an empty (or any > other) command in a command window. > The backtrace follows... > > ... > ---Type <return> to continue, or q <return> to quit--- > Reading sym...
2017 Sep 06
1
Using quantmod to obtain current Dow Jones index
R 3.4.1 OS X Colleagues, I am just learning to use the quantmod package and I have encountered something that I don?t understand. This works: getSymbols("^DJI") This does not work: getQuote("^DJI?) It returns only NAs: Trade Time Last Change % Change Open High Low Volume ^DJI <NA> N/A N/A N/A N/A N/A N/A N/A Two questions: 1. Is there some way to obtain the
2011 Sep 08
1
Seasonal and 11-day subset for zoo object
...be able to generate a value for seasons and 11-day composites paste it onto my zoo data frame, along with year, month and days. Right now I have the following to work from: eg. dat.zoo.mdy <- with(month.day.year(time(dat.zoo)), cbind(dat.zoo, year, month, day, quarter = (month - 1) %/% 3 + 1, dow = as.numeric(format(time(dat.zoo), "%w")))) For the seasons, I have been trying to replace 'quarter' with a seasonal value of "1" for Dec-Jan-Feb, "2" for Mar-Apr-May, "3" for Jun-Jul-Aug, "4" for Sep-Oct-Nov. dat.zoo.mdy <- with(month....
2006 Aug 09
0
association dows not grt foreign key
I have a 1 to 1 relationship using a similar example as below (has_one, belongs_to) but when I do the save, the foreign key of the child object is not set to the id of the parent object in the relation ship any ideas? cheers dion --------------------------------- class Person < ActiveRecord::Base has_one :address validates_presence_of :email --------------------------------- end
2010 May 17
0
Bug minimizing Warhammer DoW:Soulstorm in Gnome/Ubuntu 10.04
Hello. I don't know if it's a bug or a feature of wine, Gnome, Ubuntu or all of them. When I start Soulstorm, it is fullscreen, which suits me fine. When I hit Alt+Ctrl+D, the game minimizes, and I go back to the desktop. However, if I want to restore the window of another application (e.g. firefox), the game's window is restored fullscreen too, so I can't access firefox. Is it normal behavior or a bug? Is there a cure? Thanks. -- F. Delente
2010 Jan 22
2
Question on Merge/Lookup
I need to merge three datasets and don't know how. If I were using SQL, I would use df3, look up the characteristics of each date in df1 and the value for each observation in df2. df1 - unique list of Dates and characteristics of those dates Date, YYYYMM, YYYYWW, DOW df2 - the raw data Date, Place, Value df3 - all posibile combinations of Date + Place (via expand.grid(unique(df2$Date),unique(df2$Place)) Date, Place I need to end up with: Date, YYYYMM, YYYYWW, DOW, PLace, Value (plug 0 if combo doesn't exist in raw data). Appreciate any help! -- Vi...
2007 Oct 14
2
GetTimeZoneInformation question
...e snippet isn''t working terribly well for me. I can get the Bias, StandardName and DaylightName, but everything else is goofed up. The alignment seems ok, but maybe I''ve missed something or maybe I have to do extra work to unpack the SYSTEMTIME structures. require ''windows/time'' include Windows::Time buf = 0.chr * 172 # sizeof(TIME_ZONE_INFORMATION) GetTimeZoneInformation(buf) p buf[0,4].unpack(''L'')[0] # Bias p buf[4,64].tr("\0",'''') # StandardName p buf[68,2].unpack(''S'')[0] # Year p...
2021 Nov 17
3
stupidly simple crontab problem
Hi all, This is crazy but I can't see the answer.? In my system crontab I've added a job to stop the music system at 10:59 on the 11th November, and restart it at 11:02 on the 11th November # m??? h??? dom??? mon? dow??? user??? command ? 59? 10???? *???? 11??? *???? root???? /bin/squeezy -all -off >>/var/log/newplaylist 2>&1 ? 02? 11???? *???? 11??? *???? root???? /root/bin/newplaylist >/var/log/newplaylist 2>&1 However, it's doing this every day.? Can anyone see what's wro...
2003 May 21
1
gastman segmentation fault when pressing 'enter' in a command win dow
Gastman (cvs 05/21/03) coredumps when entering an empty (or any other) command in a command window. The backtrace follows... ... ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/lib/gtk/themes/engines/libraleigh.so...done. Loaded symbols for /usr/lib/gtk/themes/engines/libraleigh.so Reading symbols from /usr/lib/gdk-pixbuf/loaders/libpixbufloader-xpm....