Displaying 20 results from an estimated 300 matches similar to: "Count the number of occurences in ranges"
2009 Jul 17
1
get a vector with filenames with a certain extension in a folder
Hi
I got a script that works on file with the extension ".qed" that are
al located in a folder '~/works/'
Is there are R function that will fetch all the filenames from the works subdir,
similar to
'ls ~/works/*.qed'
Thanks in advance
2011 Apr 18
3
how to extract options for a function call
Hi, I'm having some difficulties formulating this question.
But what I want,
is to extract the options associated with a parameter for a function.
e.g.
method = c("Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN")
in the optim function.
So I would like to have a vector with
c("Nelder-Mead", "BFGS", "CG",
2009 Jan 05
1
can't get names of R_env
Hi,
I'm quite knew in R, so I might not have the R specific jargon.
But here is my problem,
I'm trying to access and use variabels given by a function environment,
more specifically the rho in do_optim in src/main/optim.c
According to the documentation
http://cran.r-project.org/doc/manuals/R-ints.html#The-_0027data_0027
the envsxp is defined as a tagged pairlist.
"ENVSXP: Pointers
2011 Apr 07
3
force output dimension of table function
I have a small annoying problem.
When I use the 'table' function on a simple vector it counts the
number of occurences.
So depending on the values of my input vector the function returns a
class of type table with different lengths.
Is there an easy way to tell the table function, the values to expect?
That is
#############
> set.seed(0)
> s<-sample(0:5,5,rep=T)
> s
[1] 5 1
2006 Aug 13
3
escape block using red cloth
Hi all,
Is it possible to configure red cloth to escape a block such as:
------------------------------------------------------------------
Hello, _this_ works *beautifull*
[code lang="ruby"]
def foo
bar
end
[/code]
------------------------------------------------------------------
The text in the [code] block should not be parsed by Red Cloth''s to_html
method.
I cannot
2004 Jun 08
7
NetworkWorld article on Open Source Telephony
An interesting article for those needing ammunition to sell Asterisk within
their organisation or to others:
"Is open source IP telephony ready for prime time? Yes"
by Zenas Hutcheson, St. Paul Venture Capital
Network World, 06/07/04
http://www.nwfusion.com/columnists/2004/0607faceoffyes.html
On a related note, they also have an article arguing the contrary position
(see link within
2006 May 23
4
Version 0.80 of Prototype Window Class
Hi
I have just posted a new release of my Prototype Window Class
(http://blogus.xilinus.com/pages/javawin)
Seb
2008 May 29
1
Accessing Value of binom.test
With this line:
> binom.test(x=12, n=50, p=12/50, conf.level = 0.90)
I get this output:
> Exact binomial test
>
> data: 12 and 50
> number of successes = 12, number of trials = 50, p-value = 1
> alternative hypothesis: true probability of success is not equal to 0.24
> 90 percent confidence interval:
> 0.1447182 0.3596557
> sample estimates:
> probability
2011 Mar 27
1
run function on subsets of matrix
I was wondering if it is possible to do the following in a smarter way.
I want get the mean value across the columns of a matrix, but I want
to do this on subrows of the matrix, given by some vector(same length
as the the number of rows). Something like
nObs<- 6
nDim <- 4
m <- matrix(rnorm(nObs*nDim),ncol=nDim)
fac<-sample(1:(nObs/2),nObs,rep=T)
##loop trough different
2005 Dec 09
5
Prototype Enumerable, Array and Hash Documentation
Hey guys,
I recently published an article documenting some of the more useful
and interesting parts of Prototype''s Enumerable, Hash and Array objects.
You can find it here: http://encytemedia.com/blog/articles/
2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash
If you have any feedback or suggestions, fire away.
Cheers,
-Justin Palmer
2007 Apr 17
4
close a div when click out of the div
Hi. I have this question: I have a page with more ugual "GIF" (say ?/Help
gif). When I click on one of this giv a "DIV" is showed (one for each gif).
And when a div is showed the last div "showed" there must "hide". Ok, no
problem. I have do it. My problem is that the div that is showed in this
moment must to "hide" when I clink into the document
2004 Dec 12
2
Metadata and bad player behaviour : cut sound for short time when receiving metadata (kh versions of ices/icecast)
Hello,
I was trying to add metadata to my OGG stream (ices 2,0-kh59, icecast
2.0-kh51).
It works... but the players are doing a small sound cut at metadata
reception :
- VLC (maybe 1/3sec cut)
- JORBIS (java. maybe 1/10sec, because I can have set higher priority to
sound processing and not to comment handling)
(player plateform: Mac OS X 1.3.6)
With VLC... I can say comments are unusable,
2011 May 01
2
Marginal a partir de la densidad conjunta
Cordial saludo.
Estoy trabajando con una densidad conjunta algo elaborada (suma y cociente
de dos variables aleatorias positivas usando la cópula Frank) y requiero
encontrar la distribución marginal de cada una de las variables. A manera de
ejemplo (no es el caso específico, que tiene mucho más código), si partimos
de la distribución exponencial bivariada
#-----
theta<-0.5
2020 Mar 18
3
Headsup on feature removal
So I am on of the many users with qmail, and using vpopmail auth, I guess chatting with some other guys in the other mailing list we will convert to mysql driver but this is a lot of work for many people.
I do understand dropping things out but a valid solutions needs to be proposed.
Remo
> On Mar 18, 2020, at 06:49, Michael Peddemors <michael at linuxmagic.com> wrote:
>
>
2007 Mar 27
1
"Groups" in XYPLOT
I'm not sure I'm barking up the right tree here, but would I need to make
use of groups to plot two separate datasets within ONE panel in xyplot? The
desired end result is a single xy plot of two separate (but similar in
values and ranges).
Full code follows, xyplot code at bottom
#########Determine Frequencies
##########coastal_slope
#needs the maptools package to read ESRI grid
2004 Apr 07
1
Voice Mail Email problem
Ok its probabally something really eaisy im missing. I've searched the
archives and voip-info.
Asterisk is trying to send the email notification for voice mail. But the
log says Invalid sender. Sender = asterisk@localhost.localdomain and not
asterisk@somedomain.com as assigned in conf file.
VM Config:
[general]
format=gsm|wav49|wav
serveremail=asterisk@somedomain.com <----Actual
2010 Feb 16
1
Stupid question: Why Cmd Dial and Queue haven't same options?
I apologize, my English isn't better than the last year
So,
- why Queue has some options like 'caller can continue in his dialplan' (Dial has g and F options for callee/caller) and not he same option for 'callee' ?
- no option in queue to send message (for only calle/caller) when bridged as Dial has
- idem to announce periodically 'X minutes before hangup' (in Dial,
2012 Nov 18
1
How to fix it?
Gives a mistake that "probability" is not found
x<- runif(1,0,1)
y<-x^5+x^8+(cos(x))^3
yrandom<- runif(10,0,3)
if (y<yrandom) {probabibility=y/yrandom}
area=probability*3
--
View this message in context: http://r.789695.n4.nabble.com/How-to-fix-it-tp4649955.html
Sent from the R help mailing list archive at Nabble.com.
2003 Jul 16
3
samba-ldap-debian
Hi all,
I'm pretty new with all this ... but I know that you can configure samba
with the ldap module by doing :
./configure --with-ldap
But how do you proceed with apt from Debian as the only module which
concerns samba is :
apt-get install samba.
it is probably a small silly question but thanx for your help anyway...
2012 Apr 12
8
Background jobs with #fork
Hi
I''ve migrated from Passenger to Unicorn about a week ago. It''s great.
Great transparency and management, thanks for this great software!
A few of my Rails applications start background jobs using
Kernel#fork. Of course, the ActiveRecord connections are closed and
reopened again in the parent and child processes. The child process
also does its job.
Unfortunately, it seems