Displaying 20 results from an estimated 5000 matches similar to: "hist-data without plot"
2006 Mar 26
1
load huge image
hello,
i have run around 65000 regressions and stored them in a list. then i stored
the session with save.image on my hard disk. the file is almost 1GB. when i
now want to load the image it took tons of time. even after 12h of loading it
was not done, although the saving was done fairly fast.
i fear i have to run the regressions again and store them in a database ...
can i load this file?
2005 May 01
1
opimization problem
hi,
i want to execute the following opimization problem:
max r*w
s.t.: w*z=1 # sum of w is 1
r, w are [nx1] vectors, z is a [nx1] vector consisting of 1
so far so good, works fine with lp
the problem arises with the additional restriction
w' * V * w
where V is a [nxn] matrix
how can i include this restriction since w arises twice?
thanks,
gg
--
2006 Jan 24
1
Linearize a Function
hi,
i calculate the log-returns in return1 and i want to get the performance for
the security. with only one security i have the following code
# create matrix to keep performance
return100=matrix(rep(100,length(return1)+1))
# matrix for the sum
z1=matrix(rep(0,length(return1)+1))
# suming up the returns from current index to start
for (i in 1:length(return1)) {z1[i+1]=sum(return1[c(1:i)]) }
2009 Oct 23
5
Change positions of columns in data frame
Hi all,
Probably a simple question, but I just can't find a simple answear in the older threads or anywhere else.
I've added some new vectors as columns in a data frame using cbind(). As they're all put as the last columns inte the data frame, I would like to move them to specific positions. How do you do to change the position of a column in a data frame?
I know I can use
2004 Aug 06
1
streaming live mp3?
Hello,
Is there a chance that either ices0 will get support for live-streaming
from line-in or ices2 for streaming mp3?
I tried darkice, but this didn't work out with a decent sampling rate on
my box (see [1])...
Also tried liveice, but this does not seem to work at all with icecast2
(when changing the port to 8001 I got this simple UI but icecast2 didn't
notice any new mount).
I looked
2013 Dec 16
1
Power calculations for Wilcox.test
Greetings, I'm working on some analyses where I need to calculate wilcox
tests for paired samples. In my current literature search I've found a
few papers on sample size determination for the wilcox test notably:
Sample Size Determination for Some Common Nonparametric Tests
Gottfried E. Noether
Journal of the American Statistical Association
2009 May 28
2
Bug in base function sample ( ) (PR#13727)
Full_Name: Michael Chajewski
Version: 2.9.0
OS: Windows XP
Submission from: (NULL) (150.108.71.185)
I was programming a routine which kept reducing the array from which a random
sample was taken, resulting in a single number. I discovered that when R
attempts to sample from an object with only one number it does not
reproduce/report the number but instead chooses a random number between 1 and
2011 Mar 01
2
can't open Cairo device
Dear list,
in R under wheezy the following error occurs:
> library(cairoDevice)
> Cairo()
Error in Cairo() : Graphics API version mismatch
It seems to be Debian-specific, as I tried the same under OpenSUSE 11.3
and it worked.
I tried installing cairoDevice via `apt-get install r-cran-cairodevice'
and with `install.packages("cairoDevice")' in R (without any
2003 Apr 17
3
accessing current factor in tapply
G'Day,
I want to access in a function called from tapply the current factor. In
my example below, all I want to do is to write the current factor on each
histogram. Needless to say my example does not work. I would be grateful
for pointers in the right direction.
Many thanks
Bernie McConnell
Sea Mammal Reserach Unit
cc <- 1:10
ff <- rep(c("a","b"),5)
pp<-
2011 Jun 22
3
markdown conversion routines
i am considering writing converters
between my "zen markup language'
and "markdown", but i don't know
which version of markdown to target.
i'd think it'd be the "pandoc" version,
and i understand that to be closest to
"multimarkdown", but gruber has said
he "disagrees" with "almost every part"
of multimarkdown's syntax
2006 Dec 29
3
Leading blank lines in codeblocks ignored?
(In the following I write <tab> because my MUA strips tabs)
Consider the code:
----
Paragraph
<tab>
<tab> Line
<tab>
----
or even:
----
Paragraph
<tab><space>
<tab> Line
<tab>
----
Markdown.pl ignores the leading blank line in the code block.
Is this intended behaviour?
--
Andrea Censi
"Life is too important to be taken
2006 Sep 25
4
Tightening the rules for literal `[` and `]` chars in link ids
So here's an interesting bug I just discovered:
[Like this][d]: [here][h].
[d]: foo
[h]: bar
The output here should be:
<a href="foo">Like this</a>: <a href="bar">here</a>.
But instead the output is completely empty. I see this bug in both
Markdown.pl and PHP Markdown.
The problem is that all three lines are being
2013 May 29
1
printserver for Centos 6.4
Hi!
I am new here. I am german. My system is a Centos 6.4 on a 2CoreCeleron. Its clones work on different Hardwares and processors.
Centos 6.4 is great and very stable. I use it as CMS Webserver, FTP Server, Kolab suite incl. mailserver, Fileserver, Desktop, Skype all at the same time and it is working fine.
Now i achieved to install a HP deskjet 1102 on Centos,
2005 May 23
3
Samba server crashes when logging in at XP
Hello,
in our school I have installed Debian Sarge with Samba 3.0.14a
and LDAP. Everything worked fine as long as we used Windows
98SE.
Now I have installed Windows XP Prof SP2 (with recommended
registry patches). I am able to join the workstations to the
domain (after commenting out "ldap_filter ..." in smb.conf). I
am able to login from each workstation, everything seemed
2006 Jun 30
3
data extraction
Dear mailing list I have a data that have 20,000 rows and 20 columns. Io
wonted to extract the 10th row only. Example the 10th, 20th, 30th 40th…..20000
th. can you please help me how do I do that.Than kyou.
Example is below.
Inpute:
AG GG GG AG
CC CC CC CC
CT CC CT CT
GG GG GG GG
CC CC CC CC
GG GG GG GG
CC CC CC CC
GG CG CG GG
GG GG GG GG
*CC CC CC CC*
AA AG AG AA
AA AA AA AA
GG AG AG GG
GG AG AG
2013 Jan 09
4
how to count "A","C","T","G" in each row in a big data.frame?
Dear All
I have a data.frame like that:
structure(list(name = c("Gga_rs10722041", "Gga_rs10722249", "Gga_rs10722565",
"Gga_rs10723082", "Gga_rs10723993", "Gga_rs10724555", "Gga_rs10726238",
"Gga_rs10726461", "Gga_rs10726774", "Gga_rs10726967", "Gga_rs10727581",
"Gga_rs10728004",
2018 Feb 05
2
Re: [ovirt-users] Slow conversion from VMware in 4.1
On Mon, Feb 05, 2018 at 10:57:58PM +0100, Luca 'remix_tj' Lorenzetto wrote:
> On Fri, Feb 2, 2018 at 12:52 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
> > There is a section about this in the virt-v2v man page. I'm on
> > a train at the moment but you should be able to find it. Try to
> > run many conversions, at least 4 or 8 would be good places to
2006 Mar 28
6
Remove [1] ... from output
Hello!
I am writing some numbers and character vectors to an ascii file and
would like to get rid of [1] ... as shown bellow (a dummy example)
R> runif(20)
[1] 0.653574 0.164053 0.036031 0.127208 0.134274 0.103252 0.506480 0.547759
[9] 0.912421 0.584382 0.987208 0.996846 0.666760 0.053637 0.327590 0.370737
[17] 0.505706 0.412316 0.887421 0.812151
I have managed to work up to remove quotes
2009 Jun 03
1
strsplit for multiple columns
Hi,
I am trying to split multiple columns. One column works just fine, but I
want to do it for multiple columns???
Example
> a
ID V2 V3 V4 V5 V6 V7 V8 V9 V10
1 PBBA0644 -- GG AA -- AA -- AA GG GG
2 PBBA1010 -- GG AA -- AA -- AA GG GG
3 0127ATPR -- GG AA -- AA -- AA GG GG
4 0128EHAB -- GG AA -- AG -- AA AG GG
5 PBBA0829 -- GG AA -- AA -- AA GG AG
2009 Mar 30
1
Sum of character vector
Dear list,
I am trying to evaluate how many elements in a vector equal a certain value. The vectors are the columns of a data.frame, read in using read.table():
> dim(data)
[1] 2600 742
> data[1:5,1:5]
SNP001 SNP002 SNP003 SNP004 SNP005
1 GG AA TT TT GG
2 GG AA TC TT GG
3 GG AC CC TT GG
4 AG AA TT TT GG
5