Displaying 20 results from an estimated 800 matches similar to: "Fatal Error R"
2010 Aug 01
3
remove extreme values or winsorize ā loop - dataframe
Hi everyone!
#I need a loop or a function that creates a X2 variable
that is X1 without the extreme values (or X1 winsorized)
by industry and year.
#My reproducible example:
firm<-sort(rep(1:1000,10),decreasing=F)
year<-rep(1998:2007,1000)
industry<-rep(c(rep(1,10),rep(2,10),rep(3,10),rep(4,10),rep(5,10),rep(6,10),rep(7,10),rep(8,10),rep(9,10),
rep(10,10)),1000)
X1<-rnorm(10000)
2011 Feb 25
2
Variable names AS variable names?
How can I dynamically use a variable as the name for another variable?
I realize this sounds cryptic, so an example is best:
#Start with an array of "codes"
codes <- c("a1", "b24", "q99")
#Each code has a corresponding matrix (could be vector)
a1 <- matrix(rnorm(100), nrow=10)
b24 <- matrix(rnorm(100), nrow=10)
q99 <- matrix(rnorm(100),
2005 Nov 12
1
computation on a table
Hello,
I have a table (1) of the form
q1 q3 q4 q8 q9
A 5 2 0 1 3
B 2 0 2 4 4
I have another table (2):
q1 q2 q3 q4 q5 q6 q7 q8 q9
C 10 7 4 2 6 9 3 1 2
I would like to divide the numbers in table (1) by the number of the
appropriate column in table (2):
q1 q3 q4 q8 q9
A 5/10 2/4 0/2 1/1 3/2
B 2/10 0/4 2/2 4/1 4/2
2013 Apr 03
5
Can package plyr also calculate the mode?
I am trying to replicate the SAS proc univariate in R. I got most of the
stats I needed for a by grouping in a data frame using:
all1 <- ddply(all,"ACT_NAME", summarise, mean=mean(COUNTS), sd=sd(COUNTS),
q25=quantile(COUNTS,.25),median=quantile(COUNTS,.50),
q75=quantile(COUNTS,.75),
q90=quantile(COUNTS,.90), q95=quantile(COUNTS,.95),
q99=quantile(COUNTS,.99) )
2006 Oct 06
3
Theora file size
Hi
I was surprised with size of Theora files and thought
of feedback.
Following 1minute duration Theora and Xvid files were
made from a y4m file. The resolution is 1280x720:
1. Xvid 17MB
2. Ogg/Theora Q7 31MB
3. Ogg/Theora Q8 38MB
4. Ogg/Theora Q9 49MB
5. Ogg/Theora Q10 61MB
The Xvid file was made using mencoder by 2 passes with
following options:
2013 Sep 10
1
Error: BUG: Worker sent reply with id 393, expected 394
hi dovecot:
when i login 100 users with imap protocol ,Someusers appeared a BUG in maillog like :
Sep 10 09:05:22 auth(default): Error: BUG: Worker sent reply with id 393, expected 394
Sep 10 09:05:22 auth(default): Error: worker-server(q82 at t.com,10.12.80.3): Aborted: Worker is buggy
Sep 10 09:05:22 auth(default): Error: BUG: Worker sent reply with id 31, expected 32
Sep 10 09:05:22
2012 Jul 05
2
[LLVMdev] RE : Vector argument passing abi for ARM ?
Hi Duncan,
I also thought it was a bug, especially since it worked with LLVM 3.0, but since it is not defined by ABI, I was not sure if I need to submit it as a BUG.
I wanted to be sure that it is an actual BUG before submitting it and got the not-a-bug answer.
Here is a small example to reproduce the problem I'm experiencing:
; ModuleID = 'bugparam.ll'
target datalayout =
2002 Jul 24
2
quality question
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If I'm going from .wav --> .ogg -q9 --> .ogg -q7 do I suffer any ill effects
or is it just like going from .wav --> .ogg -q7 ??
I ask because I think I want to go down a bit more as the size of the files
are around 10mb or so. I can get them from source again and go straight to
- -q7 if need be.
- --
Robert Cole
-----BEGIN PGP
2012 Jul 05
0
[LLVMdev] RE : Vector argument passing abi for ARM ?
Hi Sebastien,
> I also thought it was a bug, especially since it worked with LLVM 3.0, but since it is not defined by ABI, I was not sure if I need to submit it as a BUG.
yes it is a bug.
> I wanted to be sure that it is an actual BUG before submitting it and got the not-a-bug answer.
I didn't read Nadav's reply as saying there was no bug, in fact he explicitly
said in his email
2008 Oct 06
2
hardware / bandwidth requirements
Hi there!!
Any body can drop me some information about the hardware and bandwidth
requirements to setup an icecast server to stream real time video
using OGG/Theora? I'll setup an production server, and need to
calculate an estimate number of maximum clients connections to the
server.
thanks in advance,
zea
--
Gabriel Zea
mailTo <zeaATrandomlabDOTnet>
http://zea.randomlab.net
2011 Sep 21
3
Reading data in lisp format
Hi,
I am trying to read the "credit.lisp" file of the Japanese credit database in UCI repository, but it is in lisp format which I do not know how to read. I have not found how to do that in the foreign library
http://archive.ics.uci.edu/ml/datasets/Japanese+Credit+Screening <http://archive.ics.uci.edu/ml/datasets/Japanese+Credit+Screening>
Could anyone help me?
Best
2014 Dec 07
3
[LLVMdev] NEON intrinsics preventing redundant load optimization?
Hi all,
Iām not sure if this is the right list, so apologies if not.
Doing some profiling I noticed some of my hand-tuned matrix multiply code with NEON intrinsics was much slower through a C++ template wrapper vs calling the intrinsics function directly. It turned out clang/LLVM was unable to eliminate a temporary even though the case seemed quite straightforward. Unfortunately any loads
2016 Apr 04
2
Using final sample weight in survey package
I have the final sample weight (expansion factor) from a socieconomic
survey. I don't know the exact design used in the study ( (probably is a
stratified two-stage design).
To illustrate my problem I will use the next dataset which have a sample
weight (but the design is not specified) and incorporate the design with
svydesign and create some bootstrap replicates in order to be able to
2002 Jun 23
1
peeling as I understand it (was Re: When will quality increase be unnoticable?)
>> Is bit-peeling going to be real (or just a rumor forever)?
> Apparently the RC3 streams are capable of being bit peeled, however the
> tool to do so was looking likely to be quite complex. I believe the plan
> was to have RC4 produce streams that left better hints for the peeling
> tool, so as to make the tool simpler and faster, but I doubt we'll see it
> until
2009 Nov 12
1
Transforming a dataframe into a response/predictor matrix
I currently have a data frame whose rows correspond to each student and whose columns are different variables for the student, as shown below:
Lastname Firstname CATALOG_NBR Email StudentID EMPLID Start
1 alastname afirstname 1213 *@uark.edu 10295236 # 12/2/2008
2 anotherlastname anotherfirstname 1213 **@uark.edu ## 10295236 9/3/2008
Xattempts Q1
2012 Feb 16
2
Problem building up ggplot graph in a loop.
Folks,
I want to automate some graphing using ggplot.
Here is my code
graphChargeOffs2<-function(coffs) {
ggplot(coffs, aes(levels))
dataNames<-names(coffs)[!names(coffs) == "levels"]
for(i in dataNames) {
thisData<-coffs[[i]]
last_plot() + geom_line(aes(y = thisData, colour = i))
}
last_plot() + ylab("Total Chargeoffs")
}
coffs is a data.frame.
2017 Dec 04
3
Dynamic reference, right-hand side of function
Hi!
Thanks for the replies!
I understand people more accustomed to R doesn't like looping much, and that thinking about loops is something I do since I worked with Stata a lot. The syntax from Peter Dalgaard was really clever, and I learned a lot from it, even though it didn't solve my problem (I guess it wasn't very well explained). My problem was basically that I have a data matrix
2017 Dec 04
3
Dynamic reference, right-hand side of function
Hi R-users!
Being new to R, and a fairly advanced Stata-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve.
I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and
2002 Jul 27
1
ABX at q8
Hello!
First of all, 100x thanks to Monty and colleagues: you have done an
excellent job! I just didn't believe my ears when I first tested Oggenc
1.0 at q0 to q1 - it sounds AMAZINGLY GOOD !!!
But as HDD drives are getting larger and cheaper, most of us move toward
higher quality settings ......... I use q8, because:
- I was able to ABX some test samples up to q4.99
- at q8 Ogg is still
2015 Mar 19
4
How to boot CentOS 7 in Text mode in default?
I have done what you said and I restarted centos7. It still goes into graph
mode automatically. So what is the step I can do to go into text mode
automatically?
2015-03-19 12:03 GMT-07:00 Digimer <lists at alteeve.ca>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Try:
>
> plymouth-set-default-theme --list
>
> You should see 'text' and