search for: occasions

Displaying 20 results from an estimated 1447 matches for "occasions".

Did you mean: occasion
2004 Feb 19
3
suppressing non-integer labels for plot x-axis
Dear R-helpers, I am having difficulty making R plot only integer labels on the x-axis of a simple graph. I want to plot the median values of a score on each of three occasions. Non-integer occasions are impossible. But, R keeps labelling the x-axis with half-occasions, despite my attempts to stop this using the "xaxs" and "xaxp" parameters of 'plot'. p1=c(1,2,3); p2=c(5,15,25) plot(p1,p2,xlab='Occasion', ylab='Score', xlim=c(1...
2012 May 04
3
Database schema question
Im setting up a very basic rails app and have a question about the needed migrations & associations. Basically, my app is an occasion reminder service that emails users when occasions that they select or input are coming up. Occasions will be selected from a checkbox type list or alternatively manually input by the user (name and date of the occasion). Users can have_many occassions. How would i set this up in my models? So far i have: class Reminder < ActiveRecord::Bas...
2009 May 18
1
error in importing text files
...utlined below. I understand that my ultimate goal may require multiple steps. I am open to that. First, a little background: Data were collected from 107 participants on palm pilots. Participants were randomly beeped 5 times throughout the day for 5 days resulting in a total of 25 measurement occasions. Participants responded to beeps only when they were able to (not in class, driving, etc). Thus, most participants completed far less than 25 measurement occasions. During each measurement occasion participants responded to 32 questions by moving a slider on a 100 point scale. The palms recorde...
2013 Feb 18
2
repeated measures anova
Hi I'm having difficulty working out how to get what I think is the appropriate partitioning of variability in a repeated measures setup. I have G=5 treatment-groups, each containing n=6 subjects, and a response is measured on each subject on t=4 occasions. I think the anova degrees of freedom should partition as follows - Between-subjects: G*n-1=29 [ between-groups: g-1 = 4 , between-subjects residual G*(n-1) = 25 ] Within-subjects: G*n*(t-1)=90 [ between-occasions t-1=3 , occasion:group interaction (G-1)*(t-1) = 12 ,...
2008 Aug 02
4
RE SHAPE package question.
Hi there, I am trying to reorganized my data sets so that it is easy for MARK to read it. Basically I have the encounter histories of 1837 butterflies The data looks like this the first 4 columns are the occasions and the last two code for male and female > t1 t2 t3 t4 M F > 1 0 0 0 1 0 male capture on time1 but not seen on time 2, 3 > and 4 > 1 0 0 0 1 0 male capture on time1 but not seen on time 2, 3 > and 4 > 1 0 0 0 0 1 female capture on ti...
2012 May 23
1
how a latent state matrix is updated using package R2WinBUGS
...end of this message; the full code is available at http://www.vogelwarte.ch/downloads/files/publications/BPA/bpa-code.txt The latent state of individual i on occasion t is stored in the z matrix where rows index individuals (owls that are marked and released) and columns index capture occasions. Each value in the matrix represents the latent state for individual i at occasion t: z[i,t]=0 if individual i is dead at time t, and =1 if individual i is alive at time t. In the example, a matrix of known values for z is created from the capture histories and provided as data; I will call it...
2020 Feb 19
2
How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.
Dear all, Could you please help me how to get the output as I described in the following example? x<-c(543, 543, 543, 543, 551 , 551 ,1128 ,1197, 1197) diff<-x-lag(x) diff [1] NA 0 0 0 8 0 577 69 0 How to index the occasions in x repeatedly if the diff<15? if diff>=15, it will give a new index. I want the output be like y. y<-c(1,1,1,1,1,1,2,3,3) Thank you so much, Lijun Zhao (PhD Candidate) Nutrition and Metabolism Level 7 SAHMRI North Terrace Adelaide 5005 Ph : +61 8 8128 4898 e-mail: lijun.zhao at ade...
2020 Feb 19
2
How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.
Dear all, Could you please help me how to get the output as I described in the following example? x<-c(543, 543, 543, 543, 551 , 551 ,1128 ,1197, 1197) diff<-x-lag(x) diff [1] NA 0 0 0 8 0 577 69 0 How to index the occasions in x repeatedly if the diff<15? if diff>=15, it will give a new index. I want the output be like y. y<-c(1,1,1,1,1,1,2,3,3) Thank you so much, Lijun Zhao (PhD Candidate) Nutrition and Metabolism Level 7 SAHMRI North Terrace Adelaide 5005 Ph : +61 8 8128 4898 e-mail: lijun.zhao at ade...
2009 Feb 21
2
DIAL() application 'g' option
...TIME}) exten => _01.,n,Set(ACCUMULATED=${DB(freevoip/seconds)}) exten => _01.,n,Set(DB(freevoip/seconds)=$[${ACCUMULATED}+${CALLTIME}]) The first priority after the Dial() application is there to log the call in /var/log/asterisk/messages This extension is proving flaky at best. On very few occasions, processing has continued after the Dial() application (which is the behaviour I thought the "g" option was meant to specify). However, on most outgoing calls processing goes straight from Dial() to the first priority of the "h" extension (i.e. the default behaviour that should...
2001 Feb 12
2
Installation
I seem to have some problems installing the latest R-Windows. How do you know when the installer has completed its actions. On each occasion I tried to install, the installer has just stopped, but with no message saying "install complete" or something similar. Although, I have R installed and some it seems to work The graphics demo doesn't do anything, though other demos seem
2007 Jun 15
3
[OT] 'gv' and fractional points
...your own analyses on these data, and compare with what the article does. However, this little window only gives the numbers in whole points. Say a smallish graphic may print out 3 inches wide or high. Then you get precision of 1/216 per 3 inches or 0.4% of full scale. This can be adequate on many occasions, but can be on the coarse side on other occasions. Even for a 6-inch-wide/high graph, you only get down to 0.2% of full scale. If it were possible to induce 'gv' to display these coordinates in tenths of a point, then much greater precision (as adequate as one can expect to hope for when,...
2009 Oct 13
5
Introduction to mark-recapture analysis in R?
Normal 0 21 false false false MicrosoftInternetExplorer4 Dear R-helpers,   I was wondering whether there are any good books and/or website links that introduce mark-recapture analysis in R. In
2001 May 09
4
Ext3 destroying ownerships and permissions
Hi! A few weeks ago we upgraded 9 large webservers from ext2 to ext3. Since then we've seen very strange behavior on several of the machines. Permissions of files are repeatedly changed at random occasions. Several times, ownership of files have been totally mangled. Several users have logged in to discover that all their files suddenly are owned by another user! At two of these occasions the machine froze and rebooted when we started to chown the files back to their real owner. We currently see n...
2007 Aug 23
4
Me, the grouser?
Hi everyone, after attempting to correct Ivo's statement about Theora and Vorbis being the "default codecs" in the HTML 5 draft, I just got the following mail off list: "Why are you still here? And by here I mean the Xiph lists. I've seen you speaking ill of our formats and of free software more than in one occasion. So, for what purpose do you still stick around? What
2008 Jul 10
1
quantile regression estimation results
Dear list, I'm using the quantreg package for quantile regression. Although it's fine, there're is some weird behavior a little bit difficult to understant. In some occasions, the regression results table shows coefficients, t-statistics, standard errors and p-values. However, in other occasions it shows only coefficients and confidence intervals. Therefore, the question is... Is it possible to alter this behevior manually, so I can ask for either confidence interva...
2011 Jul 06
3
Reshape from long to wide format with date variable
Hi, I need to reshape my dataframe from a long format to a wide format. Unfortunately, I have a continuous date variable which gives me headaches. Consider the following example: > id=c("034","034","016","016","016","340","340") > date=as.Date(c("1997-09-28", "1997-10-06", "1997-11-04",
2017 Nov 28
1
Repeated measures Tukey
Thanks in advance for your help. I am running a repeated measures ANOVA in r. The same group undergoes to four different treatment conditions. So, all individuals are treated with treatments A, B, C and D in four different occasions. Once I get a significant ANOVA, I first run a paired samples t-test using the code: t.test(X1,X2,paired=TRUE) #being x1 the punctuation after treatment 1 and x2 the punctuation after treatment 2. After this, I run a Tukey posthoc test for repeated measures as stated in gribblelab: require(nlme)...
2003 May 07
1
[R ] Query : problems with the arithmetic operator "^" with function "lme" and "lmList"
Dear all, I've got a problem in including square variables in lme and lmlist functions. I've tried to work on Oxboys data of Pinheiro and Bates'book, which consist of the heights of 26 boys, each mesured on nine different occasions : > Oxboys Grouped Data: height ~ age | Subject Subject age height Occasion 1 1 -1.0000 140.50 1 2 1 -0.7479 143.40 2 3 1 -0.4630 144.80 3 4 1 -0.1643 147.10 4 5 1 -0.0027 147.70 5 ... A quadratic model in &quo...
2006 Jul 27
6
OT: remote power cycling
I'm in a situation where I'm going to have to deploy a rack of servers in an unmanned location in another country. On rare occasions, I've had systems that would not recover gracefully from a warm reboot and needed the power cycled. Years ago, I had such a device from APC, but haven't needed one in a long time since all my locations are staffed. I'd welcome any suggestions from the list. Best regards,
2011 Jul 01
16
Power-outage
I have a CentOS-5.6 remote server in a house in Italy, where there are occasional thunder-storms. There was one yesterday, when the electricity went off 3 times, for a second or so on each occasion. My server, an HP MicroServer, came back (re-booted) on 2 of the 3 occasions, but not on the third. I assume that the problem arises because the machine does not close down properly. (Although it is also possible that a voltage surge might have been responsible - I have no surge protector on this supply.) It seems to me that it should be possible to have a simple, torch-b...