similar to: ordering dataframe for strata() (PR#13830)

Displaying 20 results from an estimated 400 matches similar to: "ordering dataframe for strata() (PR#13830)"

2009 Jun 10
3
Extracting Sequence Data from a Vector
Thanks in advance. I have a vector of numbers which contain sections that are sequences which increase by a value of 1 followed by a gap in the data and then another sequence occurs, etc: x<-c(1:3, 6: 7, 10:13) From the vector I need to extract 2 items of information A) the first number in the sequence (e.g., 1, 6, 10) and B) how many observations were in each sequence section (e.g., 3,
2009 Jun 16
1
Running stats on individual data.frames from the split() function list
Hello, and thanks in advance. I have a data.frame from which I want to count observations that occur on each day and determine the mean and std.error of said counts. For instance: x<-split(my.df, my.df$julian.days) Although I'm still in my R learning infancy I am under the impression that x is a list of data.frames subsetting my.df by group (i.e.,julian.day) where day 1:366 are
2009 Jul 09
0
Sampling a dataframe based on the length of a subset of observations within
Thank you in advance for your consideration. I have a dataframe of 2000+ observations with repeated measures across approximately 300 unique individuals An event either does or does not happen (1,0) and there is a suit of independent variables associated with the event. A simplified representation follows:
2000 Sep 28
0
Occams Razor Was: lm -- significance of x ...
> From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> > Date: 28 Sep 2000 13:58:22 +0200 > > Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes: > > > I think Occam/Ockham himself wrote in Latin. By my failing memory, the > > quote is > > > > "Entia non runt multiplicanda praeter necessitam" > > > > give or take
2015 Apr 09
1
Script to Program Snom Phones
SNOM phones can be configured using files on a TFTP server. On Thu, Apr 9, 2015 at 11:14 AM, jg <webaccounts173 at jgoettgens.de> wrote: > > Does anyone know how to program Snom phones using a Mac addresses like > what is done with the Ciscos. I have about 50 extensions to be programmed > and I am hoping there is a way on Asterisk to program extensions on the > snom
2017 Feb 17
2
Turn on SIP debugging from DialPlan
The SIP trace will be adequate but this is on a remote system with limited disk space. I would love to turn on debugging while making the troublesome calls, then turn it off afterward. Tcpdump is great, but starting it and stopping it and keeping all that data would still be an issue. d On Fri, Feb 17, 2017 at 4:56 PM, Tim Pozar <pozar at lns.com> wrote: > Why not capture the packets
2001 Feb 27
2
win clients and sftp
I'm having trouble with users transferring files to a solaris box running ossh v2.3.1p1 via sftp using ssh.com's windows client. The sftp client appears not to respect the users umask, creating files with either mode 666 or 600. We're using version 2.4.0 of the windows client. Any ideas? thanks, -Brett ----------------- Brett Longworth Systems Manager Department of Biology
2001 Apr 20
0
Fudging domain support - samba 2.2.0
Hi; There is likely a supported way around this problem, but it wasn't immediately apparent to me. So, I created the enclosed patch to fix my problem. What I would like to do is the following: - run samba in "security = domain" - not use trusted domains, but allow people to connect from other domains - not maintain a local encrypted password file for samba, but instead use our
2008 Apr 07
3
speex affected by vulnerability described in [oCERT 2008-02]
Hi folks, we've tried contacting Jean-Marc Valin but email address bounces. We published yesterday an advisory about libfishsound, you can find it at the following URL: http://www.ocert.org/advisories/ocert-2008-2.html The issues seems to affect Speex (since the code is the same) versions <= 1.1.12. While the 1.2beta branch is not vulnerable we advise that you fix with a security release
2000 Jan 12
0
Slow directory listing in ERmapper and ArcView
Hello, I'm running Samba 2.0.6 on a Sun Ultra1 as a file and print server for a GIS teaching lab. Samba has solved a bunch of problems for us but one serious one remains. Getting a large directory listing from within two applications, ERMapper 5.5 and ArcView 3.1 running on win95, is a factor of 10 slower than getting the same listing from a local drive or a win95 machine serving SMB.
2004 Aug 24
3
Hardware for PBX with 4 incoming/outgoing lines and 20 phones
Hi I am interested in setting up an Asterisk PBX in my office with digium hardware, and I just have a few questions in regards to what I would need. It is my understanding that an FXO card is used to interface with an incoming/outgoing phone line, and an FXS card is used for interfacing with a phone within the system. Currently we have 4 incoming/outgoing phone lines and would like to have
2017 Feb 17
6
Turn on SIP debugging from DialPlan
I have some troublesome numbers that I would like to capture the SIP dialogue when I am calling them. When I am about to dial the number, is there any way to turn on SIP debugging in the dial plan before I make the call? (and turn it off after the call is completed?) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2004 Aug 11
1
FreeBSD-SA-04:13.linux in the wild
Has anyone else seen this in the wild? We just had an attempted attack yesterday from a live attacker on one of our machines using this vulnerability. It wasn't all that clever, and they're long gone, but I *did* manage to catch them in the act and grab a copy of the binary they tried to run from /tmp/, as well as the PHP injection code they used to subvert a virtual web site's
2006 Apr 27
1
losing x-label when exporting to PNG
I have a simple barplot that looks fine in the R graphics device window. However when I export it to png I am losing the x-label. It must be an obvious problem but I cannot see it. Trying to resize the plot does not seem to help. Code is below. Any help gratefully received. ###### Start Code############ Groups <-c(21.8,45, 43, 17.2, 8.3, 18) names(Groups) <- c("Exeter",
2008 Jan 16
1
nlrq coefficients querry
I have been quantreg library for a number of projects but have just hit a snag. I am using nlrq to examine an asymptotic relationship between 2 variables at the 99th percentile. It performs as expected, however when I try to extract the coefficients along with se and significance I am running into problems. The problem is that for the nlrq regression Dat.nlrq, summary(Dat.nlrq) reports a different
2009 Jun 09
2
generating new data with for loop
I'm new at R ... I've not done for loops in R - so this is very new to me. One of our students has a data frame that contains two columns data 1. unixtime time of an event (in unix time - #of seconds) 2. duration of event in seconds. We need to create new data - the unixtime (seconds) that these events occurred. We want to create a for loop (or nested for loops) that goes through the
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * Bergm (1.0) Alberto Caimo http://crantastic.org/packages/Bergm Functions implementing Bayesian estimation for exponential random graph models via exchange algorithm Updated packages ---------------- lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21), r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),
2010 Jun 26
1
boot with strata: strata argument ignored?
Hello All. I must be missing the really obvious here: mm <- function(d, i) median(d[i]) b1 <- boot(gravity$g, mm, R = 1000) b1 b2 <- boot(gravity$g, mm, R = 1000, strata = gravity$series) b2 Both b1 and b2 seem to have done (almost) the same thing, but it looks like the strata argument in b2 has been ignored. However, str(b1) vs str(b2) does show that the strata have been noted
2005 Oct 25
0
Examples of "classwt", "strata", and "sampsize" in randomForest?
Just browsing the documentation, and searching the list came up short... I have some unbalance data and was wondering if, in a "0" v "1" classification forest, if these options might yield better predictions when the proportion of one class is low (less than 10% in a sample of 2,000 observations). Not sure how to specify these terms... from the docs, we have: classwt: Priors
2009 Jan 07
0
Frailty by strata interactions in coxph (or coxme)?
Hello, I was hoping that someone could answer a few questions for me (the background is given below): 1) Can the coxph accept an interaction between a covariate and a frailty term 2) If so, is it possible to a) test the model in which the covariate and the frailty appear as main terms using the penalized likelihood (for gaussian/t frailties) b)augment model 1) by stratifying on the variable that