Displaying 20 results from an estimated 20000 matches similar to: "Help plz"
2012 Oct 22
5
Help plz to fix it
I have an array of probabilities....it is p. So if user types x=1 then
probability is p1=1/10.
If user types x=2 it means that p2= p1+p2
if user types x=3 it means that p3=p1+p2+p3....and so on.
So i created a code..... but it doesnt work properly. Help me plz to fix it)
Thank u in advance.
psidp=function(x){
p<-(1/10 2/5 2/5 2/5 2/5 1/10 1/10 1/10 1/10 1/10)
i==0;
if (x!=0){
for
2004 Aug 06
1
Funky password mount point error for liveice and ic ecast - PLZ HL P!
Pete - Thanks for the hack, I've gone in an adjusted the necessary
lines(Even though my C is REALLY rusty, cut and paste to the rescue), I
re-compiled the source, so hopefully things will work once I get home to
test. You mentioned that I shouldnt use this for a Public Production
server, is there any other security measures I can take to override this
exploit? I had planned on running it
2006 Mar 25
2
problem with diff
dear R users
I am having a problem with the output of diff for a numeric vector
which has the values (2,4,6,7), one expects to get 2 2 1 but I am
getting 4 6 7, here is the setup.
info <- with(rle(x),
data.frame(value = values,
start = cumsum(lengths)-lengths+1,
end = cumsum(lengths)
)[lengths > 1,]
);
> x <-
2009 Dec 07
1
Subset of time observations where timediff > 60 secs
Dear list members
I have a rather large vector (part of a data frame) giving the time
(date + time, POSIXct) of observations. The times are irregular (with
both small and large jumps) but increasing, and there are several
millions of them.
I now wish to reduce my data set, so that I only have observations which
are at least (for example) 60 seconds apart. Basically, I need (all) the
indices
2006 Aug 05
2
plz do favour in active record
hello
I want to do like the below code
name=[''net'',''gross'',''amount'']
avail= Avail.find(1)
return avail.name[0]
but it gets error
I want to give " avail.name[0] " like this, rather than avail.net
directly,
can u guys plz help me, how to do this plz explain with code
advance thx
have a pleasant day
narayana
--
2007 Feb 16
0
re : array searches
Hi,
I am not sure to get the issue, but assuming your data are arranged as
in your example with dates in column x$V1 and signals as x$V2 ,
I think that you could use "rle" in the following way :
test<-rle(x$V2)
testmat<-matrix(NA,length(test$values),2)
testmat[,1]<-x[c(1,cumsum(test$length)[1:(length(test$values)-1)]+1),1]
testmat[,2]<-test$values
And you'll get your
2006 Jul 26
1
Plz answer my query in date_select
hello gentlemen
I want to set my (default)own date in date_select, how to do this, plz
explain with example
advance thx
have a nice day
regards
narayana
--
Posted via http://www.ruby-forum.com/.
2005 Aug 10
1
plz. solve my prob
sir,
i am going to configure debian samba server i am getting problems. how
can i configure samba as a pdc . plz. reply me back as soon as possible
with complete steps.
Thanking you.
sumit kumar
09848097138
INDIA
2012 Oct 26
1
Why my code does not draw? how to fix it? plz....
number<-c(0,1,3,4,5,6,8)
rsidp<-function(x){
i=0
{y<-sample(number,x,replace=TRUE)}
return(y)
}
plot(o, xlim=c(0,20), ylim(0,20), type="n", xlab="Sample size", ylab="Sample
variance")
for (i in seq(1:20)){
retVal=rsidp(i)
var(rsidpVector)
points (i, var(rsidpVector),pch=i,col=i)
}
--
View this message in context:
2006 Mar 28
2
RSYNC authors help plz...
I started the massive transfer based on the historical timings, but now I am
facing lots of problems in the transfer...I am getting lot of errors like
this..
This is a very critical production update I have only 3 weeks time to
complete this 4 tb transfer that was taken from historical times using rsync
rsync: writefd_unbuffered failed to write 4813 bytes: phase "unknown"
[sender]:
2006 Aug 05
0
plz do favour in xml builder
hello
name=[''year'',''day'']
i want to use the below code
x.year "2006" in xml
as x.name[0] "2006" how to do this ?
can u plz explain with example
advance thx
have a nice day
narayana
--
Posted via http://www.ruby-forum.com/.
2009 Apr 19
0
plz help . tinc configuration for NAT
i am trying to setup a vpn with my friend. there are just 2 peers, me and him
both of us are running windows machines.
both of us are behind NAT.
i couldnt understand properly the address and subnet allocation for
the tinc daemons
so could anyone plz help me how to configure tinc.if anyone could send
me a sample configuration file that would be of great help.
thanks in advance
2008 May 23
3
Help plz
hi i just switched from xp to Ubuntu and i installed steam and half life and guild wars and i cant seem to get it to work right. Every time i try to run them they begin to load up then when they are about to start the screen goes blank for a second and then im back at the desktop and the computer is acting almost as if the program is running but its not and the resolution is the games plz help.
2011 Jun 17
3
rle on large data . . . without a for loop!
I think need to do something like this:
dat<-data.frame(state=sample(id=rep(1:5,each=200),1:3, 1000,
replace=T,prob=c(0.7,0.05,0.25)),V1=runif(1,10,1000),V2=rnorm(1000))
rle.dat<-rle(dat$state)
temp<-1
out<-data.frame(id=1:length(rle.dat$length))
for(i in 1:length(rle.dat$length)){
temp2<-temp+rle.dat$length[[i]]
out$V1[i]<-mean(dat$V1[temp:temp2])
2012 May 21
4
plz help. how to filter/group/sort data on mass data
hi, nice people
I needs to compute the product whose annual sales values are all
among the top 100 using R ( version 2.15.0)
data is stored in the MSSQL database.
data structure( sales table's fields): productID, time, value
I have found the SQL solution below:
SQL solution is as below:
--------------------------------------------------------------
WITH
2010 Feb 11
1
Code find exact distribution for runs test?
I've been attempting to understand the one-sample run test for
randomness. I've found run.test{tseries} and run.test{lawstat}. Both
use a large sample approximation for distribution of the total number
of runs in a sample of n1 observations of one type and n2 observations
of another type.
I've been unable to find R code to generate the exact distribution and
would like to see how
2008 Aug 19
0
Converting monthly data to quarterly dataMonday, August 18, 2008 11:38 AM
Dear Gavin,
This is really great, thank you! I created some long loops to get rid of
extra months at the beginning and the end of my data but your code is great
for putting it then together quarterly.
thanks again,
Denise
On Mon, 2008-08-18 at 14:31 +0100, Denise Xifara wrote:
> Thank you very much Stephen, but how will aggregate deal with months that
> fall outside annual quarters? eg,
2012 Jun 08
2
help with rle function on paired data
Dear R Community - I hope you might be able to provide some guidance
regarding the use of the rle function. I have a set of time-series data
where a measured value is recorded every 30 seconds after the start of an
experiment. Many of the measured values repeat and I am interested only in
the values when there is a change. If I turn the measured values into a
vector, the rle function works
2004 Aug 06
2
Funky password mount point error for liveice and ic ecast - PLZ HL P!
OH MAN THANK YOU!!! I have been pulling my hair trying to get this $hit to
work for weeks now. What other DSPs do you recommend instead of LiveIce?
Either that or when do you expect the patch to be released?
Thank you so much!!!
DK
> -----Original Message-----
> From: Michael Smith [mailto:msmith@xiph.org]
> Sent: Wednesday, February 18, 2004 4:35 PM
> To: icecast@xiph.org
>
2006 Aug 14
3
The questions when I install Xen on RHEL4!!! Plz help me!! Thanks...
Hello everyone:
Last week I learnt to install Xen on RHEL4. The virtual system is Fedora5. I can run it now,but I met several questions. I hope you can help me deal with them.
First: When I use the command "usr/sbin/xm create -c /boot/fc5vm.cfg" to startup Fedora5, it always display this wrong message before the system startup.
problem: using config file