Displaying 20 results from an estimated 100 matches similar to: "rpart returning only 1 node"
2002 Dec 14
4
scan() with "what"
Hi,
I have a medium-sized (19MB) CSV file that I'd like to read into R. The
read.csv() function seems to be a bit inefficient to deal with it, and I
remember that using scan() with "what" options is better.
However I'm unable to understand how to use it. The first few lines of
the data look like:
2003 Apr 11
4
Can I improve the efficiency of my scan() command?
Hi,
Suppose I use the following codes to read in a data set.
###############################################
> rating <- scan("../Data/Rating.csv",
+ what = list(
+ usage = "",
+ mileage = 0,
+ sex = "",
+ excess = "",
+ ncd = "",
+
2015 Jun 14
2
Sound glitch when using libvorbisfile and libao
Hi Gunter,
I think this problem started happening when I upgraded from Debian Wheezy
to Debian Jessie. If nothing looks amiss in my code, it probably is a sound
driver problem. But since it works 100% of the time in ogg123, I feel I
must have missed some corner case.
My audio driver is almost always active. I usually have my music player
going in the background when I do my testing. The problem
2015 Jun 27
0
Sound glitch when using libvorbisfile and libao
Hi Gunter,
I've solved the sound glitch. Since it was hard to reproduce, it took me a
while, but I eventually figured it out.
What I needed to do was fill the buffer with more data before handing it
off to ao_play. It requires lots of bookkeeping, pointer arithmetic, and a
sufficiently large buffer.
First, the bigger buffer. I just pulled this code from ogg123:
#define PRIMAGIC
2001 Oct 31
1
Xilinx ise4.1i par trouble
Hi,
When I excecute the following command line
wine --winver nt40 --dll shlwapi=b --managed --
/nfs2/bin/Xilinx/ise4.1i/bin/nt/par.exe -pl 5 -rl 5 -e 1 -t 1 -w
/tmp/design.ncd design.ncd design.pcf
the following error message is returned
err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags 0
addr 0x400a5648
but if I run the following command line
wine --winver nt40 --dll
2006 Apr 25
4
Help needed
Hi,
I am trying to change a SAS macro to R.
here is my code. I get an error at the last line.
attach(fram)
dset1<-cbind(AGE,BMI,DEATH)
> BMIGRP<-cut(BMI,breaks=3,right=TRUE)
> AGEGRP<-floor(AGE/10)-2
> dset<-cbind(AGEGRP,BMIGRP,DEATH)
> maxage<-max(dset[,1])
> minage<-min(dset[,1])
> #maxcls<-dset[,2]
> #mincls<-dset[,2]
>
2003 Dec 02
2
: GLIM PROBLEMS
Hi all
I have another GLIM question.
I have been using R as well as Genstat (version 6) in order to fit
GLIM models to the data (displayed below).
The same models are fitted but the answers supplied by the two
packages are not the same.
Why? Can anyone help?
A discription of the data and the type of model/s fitted can be found
below.
Regards
Allan
The
2009 May 25
3
long format - find age when another variable is first 'high'
Dear R,
I've got a data frame with children examined multiple times and at various
ages. I'm trying to find the first age at which another variable
(LDL-Cholesterol) is >= 130 mg/dL; for some children, this may never happen.
I can do this with transformBy and ddply, but with 10,000 different
children, these functions take some time on my PCs - is there a faster way
to do this in R?
2005 Feb 24
2
survreg with gamma distribution: re-post
Dear r-help subscribers,
A couple of weeks ago I sent the following message to the r-help mail
list. It hasn't generated any response, and I could really use some help
on this. Anyone able to help?
Thanks again,
Roger Dungan
>>
I am working on some survival analysis of some interval censored failure
time data in R. I have done similar analysis before using PROC LIFEREG
in SAS. In
2017 Nov 10
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-10 07:47, Nemanja Ivanovic wrote:
> One thing I thought about doing a while back and never really wrote a
> POC for is the following:
> - Make FirstCSRCost a property of the MachineBasicBlock (or create a
> map of MBB* -> FirstCSRCost)
>
> - Implement a pre-RA pass that will populate the map as follows:
>
> - Identify all blocks with calls
>
> -
2006 Apr 17
7
help
Hi, I am trying to runn a age-period-cohort model, but here is what I am
having problem with, hope you can help me!
This is what I am trying to do:
sumzero_a<-((A-min(A))/5+1) - mean((A-min(A))/5+1) where A is my age
variable (numeric, the mid-point of a five-year age group), but I got the
following error:
Error in min(..., na.rm = na.rm) : invalid 'mode' of argument
I am pretty
2017 Nov 16
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-14 17:22, Quentin Colombet wrote:
> Hi,
>
> I think it is kind of artificial to tie the CSRCost with the presence
> of calls.
> I think I’ve already mentioned it in one of the review, but I
> believe it would be better to differentiate when we want to use a CSR
> to avoid spilling or to avoid splitting. CSR instead of spilling is
> good, CSR instead of
2017 Oct 31
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-10-30 21:20, Hal Finkel wrote:
> On 10/30/2017 12:20 PM, junbuml at codeaurora.org wrote:
>> On 2017-10-27 19:50, Hal Finkel wrote:
>>> On 10/27/2017 03:32 PM, Jun Lim via llvm-dev wrote:
>>>
>>>> When compiling C code below for AArach64, I saw that shrink-wrapping
>>>> didn't happen due to the very early uses of CSRs in the entry
2017 Nov 17
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-17 13:10, Quentin Colombet wrote:
>> On Nov 16, 2017, at 2:31 PM, junbuml at codeaurora.org wrote:
>> On 2017-11-14 17:22, Quentin Colombet wrote:
>>
>>> Hi,
>>> I think it is kind of artificial to tie the CSRCost with the
>>> presence
>>> of calls.
>>> I think I’ve already mentioned it in one of the review, but I
2001 Aug 14
2
fixup_imports No implementation for NTDLL.DLL
Hi,
I am a newbie and I have installed Wine release 20000909 on a machine
running Mandrake7.2 and win2000.
The DefaultLoadOrder for the DLLs are builtin, so, native & elfdll.
LD_LIBRARY_PATH and EXTRA_LD_LIBRARY_PATH points to the directory
containing the lib*.so files. I encontered the following errors while
running a place & route tool.
2005 Jan 27
0
Survreg with gamma distribution
Dear r-help subscribers,
I am working on some survival analysis of some interval censored failure
time data in R. I have done similar analysis before using PROC LIFEREG
in SAS. In that instance, a gamma survival function was the optimum
parametric model for describing the survival and hazard functions. I
would like to be able to use a gamma function in R, but apparently the
survival package does
2015 Feb 17
2
Help with archive server
Hi,
I want to build a system where 6 months old mail to be moved to
archive server to keep my mailbox clean and fast.
Is there any way to achieve the same using any pre-built binary shipped
with dovecot ?
Thanks and Regards
Joy
2018 Jan 20
2
Changing expired Samba AD password during Windows login
Thanks for the help, however I don't think your suggestion applies in my
case. On a fresh install of Samba 4.7.4 AD you cannot change a user
password on a logged in PC through cntl-alt-del -> ChangePassword
because the default MinAge is 1 days. I had to use the "samba-tool
domain passwordsettings set --min-pwd-age=0" command to make the
logged-on style of password change
1999 Mar 17
1
Copied files filled with zeros
I'm running Samba 2.0.0 on Solaris 2.5 and 2.6. I've had a report
that a user on a Wincenter machine (NT4 + Windows Terminal Server +
Citrix Metaframe + NCD stuff) dragged a Word document from his NT
fileserver onto one of my Samba servers and the result was filled
with zeros. We have been able to reproduce the problem from annother
account on the Wincenter machine, but cannot make it
2008 Jul 15
0
implementation of Prentice method in cch()
Case cohort function cch() is in survival package. In cch(), the prentice
method is implemented like this:
Prentice <- function(tenter, texit, cc, id, X, ntot,robust){
eps <- 0.00000001
cens <- as.numeric(cc>0) # Censorship indicators
subcoh <- as.numeric(cc<2) # Subcohort indicators
## Calculate Prentice estimate
ent2 <- tenter
ent2[cc==2] <-