Displaying 20 results from an estimated 500 matches similar to: "p values in coxph()"
2011 Feb 14
3
how to order POSIXt objects ?
I have a problem ordering by descending magnitude a POSIXt object. Can
someone help please and let me know how to work around this. My goal is to
be able to order my data by DATE and then by descending TIME.
I have tried to include as much info as possible below. The problem stems
from trying to read in times from a CSV file. I have converted the character
time values to a POSIXt object using the
2008 Apr 14
3
Logistic regression
Dear all,
I am trying to fit a non linear regression model to time series data.
If I do this:
reg.logis = nls(myVar~SSlogis(myTime,Asym,xmid,scal))
I get this error message (translated to English from French):
Erreur in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start =
list(xmid = aux[1], :
le pas 0.000488281 became inferior to 'minFactor' of 0.000976562
I then tried to set
2020 Mar 10
0
Fwd: Windows upssched does not work
On Tue, 10 Mar 2020, Radoslav Chovan wrote:
> I have problem with upssched on windows. Upssched is not executed. I
> have 2 scripts, 1 for notification in upsmon and second for scheduling
> in upssched. Monitoring is working fine, script write to log. I'm
> using binary windows installer 2.6.5-6 from NUT.
> --- upsmon.conf
> MONITOR ups_1000 at 192.168.3.95 1 <user>
2020 Mar 10
2
Fwd: Windows upssched does not work
Hi,
I have problem with upssched on windows. Upssched is not executed. I
have 2 scripts, 1 for notification in upsmon and second for scheduling
in upssched. Monitoring is working fine, script write to log. I'm
using binary windows installer 2.6.5-6 from NUT.
Here are my configs:
--- nut.conf
MODE=netclient
--- upsmon.conf
MONITOR ups_1000 at 192.168.3.95 1 <user> <password> slave
2011 Aug 31
1
formatting a 6 million row data set; creating a censoring variable
List,
Consider the following data.
gender mygroup id
1 F A 1
2 F B 2
3 F B 2
4 F B 2
5 F C 2
6 F C 2
7 F C 2
8 F D 2
9 F D 2
10 F D 2
11 F D 2
12 F D 2
13 F D 2
14 M A 3
15 M A 3
16 M A 3
17
2020 Mar 11
1
Fwd: Windows upssched does not work
ut 10. 3. 2020 o 16:34 Roger Price <roger at rogerprice.org> napísal(a):
>
> On Tue, 10 Mar 2020, Radoslav Chovan wrote:
>
> > I have problem with upssched on windows. Upssched is not executed. I
> > have 2 scripts, 1 for notification in upsmon and second for scheduling
> > in upssched. Monitoring is working fine, script write to log. I'm
> > using binary
2009 Aug 13
3
Finding minimum of time subset
Dear List,
I have a data frame of data taken every few seconds. I would like to subset the data to retain only the data taken on the quarter hour, and as close to the quarter hour as possible. So far I have figured out how to subset the data to the quarter hour, but not how to keep only the minimum time for each quarter hour.
For example:
2004 Jun 22
2
ts & daily timeseries
I have defined a daily timeseries for the 365 days of 2003 issuing:
myts = ts(dati[,2:10],frequency=365,)
> myts
Time Series:
Start = c(1, 1)
End = c(1, 365)
Frequency = 365
and
mytime = as.POSIXct(strptime(as.character(dati[,1]),format="%Y-%m-%d"))
contains the dates from "2003-01-01" to "2003-12-31"
How can I combine mytime and myts in order to list
2008 Oct 13
3
lattice panel question
Dear R users,
How to change lattice panel label/text from the automatically generated
label (based on the conditioning) to our own set of label?
for example:
someStuff <- data.frame(area = rep(c("SOUTH", "NORTH", "EAST", "WEST"), each
= 25),
group = rep(c("A","B","C","D"), each = 5),
2009 May 04
1
how to remove ( ) ? when using write.csv(chron.object)
Hello all,
I don' like to have ( ) around my datetime, when send the csv file to somebody.
How to remove it?
>library(chron)
>mydate <- c("2009-05-03","2009-06-07")
>mytime <- c("10:30:00","10:20:00")
>mydatetime <- chron(dates=mydate,times=mytime,format=c("y-m-d","h:m:s"))
>write.csv(mydatetime)
2006 Jan 19
1
chron library: format.times, parse.format and h:m (PR#8507)
Due to the following lines in parse.format:
else if (nf == 3) {
sep <- ""
fmt <- substring(format, first = 1:3, last = 1:3)
}
If a format code has 3 characters, it will not use a separator:
> library(chron)
> mytime = times('7:15:00')
> format(mytime,'h:m')
[1] "0715"
- Phil Spector
2006 Aug 08
0
gamm question
Hello,
I have two gamm question (I am using gamm in mgcv).
1. In have, say 5 time series. Monthly data, 20 year. The 5 time series are from 5 stations. The data are in vectors, so I have fitted something along the lines of:
tmp<-gamm(Y ~ s(Year,by=station1)+s(Year,by=station2)+
s(Year,by=station3)+s(Year,by=station4)+
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
# HG changeset patch
# User Zhigang Wang <zhigang.x.wang@oracle.com>
# Date 1342720736 14400
# Node ID ec9655b30a5fa5b5abb3e05505f681f9be559613
# Parent 43e21ce7f22151524b800a6cf0ac4ba1233b34a7
pygrub: add syslog support to pygrub
Currently, when pygrub failed, we don''t know the reason because xend/xl will
not capture the stderr message.
This patch will log the error message to
2006 Sep 14
1
working with strptime data
Dear R-forum,
I am looking for a good resource/help on working with POSIXct values and
controlling the pretty x-axis labels and tick marks for a data VS time
plots. Specifically, I wish to do programming logic which creates
different vertical ablines calculations based on the range of times
which i am working on. The default plot results are adequate, but I
would love to make explicit calls on
2024 Dec 02
1
Identify first row of each ID within a data frame, create a variable first =1 for the first row and first=0 of all other rows
OK.
(Note: I am ccing this to the list so that others can correct any
mistakes, misunderstandings, or misstatements that I may make; and
also give you more and better advice about how to proceed. For
example, there may be environmental packages ( see the environmetrics
task view, https://CRAN.R-project.org/view=Environmetrics) that
already do everything you want from your data source that someone
2006 Nov 17
0
difftime for handling time units--hours, minutes, days--from file times
Thanks, Tim
To get the time difference in the proper units, it's as simple as this:
difftime(myfileinfo$mtime[2], myfileinfo$mtime[1], units="hours")
Cheers,
Warren
On 11/13/06, Tim Calkins <tcalkins@gmail.com> wrote:
> hardly the most efficient way to go, but consider using a substring
> function to extract the time bits from your data, then reading them as POSIX
2010 Mar 03
0
CALLERID(num) not working
I am having a problem setting the caller ID that shows when I make an outbound call over my PRI line. If I make a call from a SIP phone registered with the Asterisk box the PRI is connected to the correct ID shows on my cell phone. If I make a call from an IAX trunk connected asterisk box calling the same number as call one and setting the caller ID to the same number as call one the caller ID
2008 Apr 15
1
by inconsistently strips class - with fix
summary:
The function 'by' inconsistently strips class from the data to which
it is applied.
quick reason:
tapply strips class when simplify is set to TRUE (the default) due to
the class stripping behaviour of unlist.
quick answer:
This can be fixed by invoking tapply with simplify=FALSE, or changing
tapply to use do.call(c instead of unlist
executable example:
2009 Sep 04
0
Mongrel Timeout for System Calls
I''ve got a problem with timing out a C RFC call.
Essentially, I''ve got code that initializes and executes an RFC to a
remote server that, depending on the server, could take a significant
amount of time to return a response.
To minimize end-user impact, I wrapped the call with a timeout of 20
seconds.
When I executed a test, it didn''t appear to do anything as the
2010 Jul 30
1
COXPH: how to get the score test and likelihood ratio test for a specific variable in a multivariate Coxph ?
Hello,
I would like to get the likelihood ratio and score tests for specific variables
in a multivariate coxph model. The default is Wald, so the tests for each
separate variable is based on Wald's test. I have the other tests for the full
model but I don't know how to get them for each variable.
Any idea?
David Biau.
[[alternative HTML version deleted]]