Displaying 20 results from an estimated 800 matches similar to: "if one of 4 conditions is not satisfied"
2008 Jun 23
3
Simulating Gaussian Mixture Models
Hi,
Is there any package that I can use to simulate the Gaussian
Mixture Model , which is a mixture modeling method that is widely used
in statistical learning theory.
I know there is a mclust, however, I think it is a little bit
different from my problem.
Thanks very much..
regards.
--------------------------
Peng Jiang
??
Ph.D. Candidate
Antai College of Economics &
2008 Sep 16
5
How to find the index
Dear R experts,
i have a vector z , i have to do something after z is sorted. how
can i find the original index, i.e., before sorting, of a certain
element in the sorted vector .
thanks in advance
regards
-----------------------------------------------
Peng Jiang ?? ,Ph.D. Candidate
Antai College of Economics & Management
????????
Department of Mathematics
???
Shanghai Jiaotong
2008 Jul 08
1
about EM algorithm
Hi, dear R experts .
is there any package contain an universal EM procedure,
that is , for arbitrary d.f. , not just the one in mclust .
thanks in advance
best regards
-----------------------------------------------
Peng Jiang ?? ,Ph.D. Candidate
Antai College of Economics & Management
????????
Department of Mathematics
???
Shanghai Jiaotong University (Minhang Campus)
800 Dongchuan Road
2008 Jul 03
2
what can we do when R gives no response
Hi, dear R experts ,
I am new. I met this problem when I am trying to learn how to use
the nlminb() function. I tried the example which the document
provides ( as the following code ) and R gives no response . I don't
know whether it is running or not and it takes a very long time but
still output nothing so I just close the session window. my question
is is there any method
2008 Jun 24
2
How to solve empty cells in the contingency table?
Hi,Dear all R experts,
I am trying to do the 2-way contingency table analysis by fitting the loglinear models. However, I found my table has several empty cells which are theoretically missing values.I have no idea of how to solve them coz we cannot compute the simulated p-value with zero marginals.Does someone have some suggestions? Please help me out, thanks a lot!
Cheers,
Yan
2008 Jun 27
1
binomial distribution
Hi all,
I am a biological student and need your help in statistics.
I have two sets of binomial distributed numbers: {a1, a2, ..., an} and {b1,
b2, ..., bn}.
How can I get the distribution of the ratios of the two sets of numbers
{a1/b1, a2/b2, ..., an/bn}? Is there a formula to transform the
distributions? Or where I can start if I want to learn necessary techniques?
Thank you a lot!
xiechao
2008 Jun 30
4
Add comments on plot window
Dear R users,
Is it possible to add comments in a plot window?
I have 3 plots -> this plots have to be commented on same window
Is possible to do the following :
http://www.nabble.com/file/p18193822/plot%2526comments.JPG
plot%26comments.JPG
I don't know how to do it. Maybe plot.window or something like that.
Any suggestions??
Thanks in advance,
Adel.
--
View this message in context:
2008 Jun 28
2
String concatenation
Hi,
Is the following function built in somewhere?
concat = function(v) {
res = ""
for (i in 1:length(v))
res = paste(res,v[i],sep="")
res
}
e.g.
> concat(c("12","3","45"))
[1] "12345"
Cheers,
Andy
--
Andy Fugard, Postgraduate Research Student
Psychology (Room F3), The University of Edinburgh,
7 George
2008 Jun 18
3
Cluster on both categorical and numerical data
Hello there. Is there any function in R that can do cluster on a set of
data that has both categorical and numerical variables? thanks.
siangli
2008 Mar 03
3
Plot using colors
Dear R users,
I have a problem since I try to plot my datas with different colors.
plot(tvar, var, xlab="zeit [s]",ylab="Variation [%]", col = ifelse(var <=
varstability, 'green','red'))
this works well!
But since I add a type="l" to my plot, it will color all the plot with
green!!!
Is there any solution? I avoid to use teachingDemos.
Thanks.
--
2008 Jul 04
2
create a zero matrix & fill
Dear R user,
I have written a function which returns max,min and variation of a power
(see below)
Power is a given matrix(1,n)
I call the function
>Variation<-VAR(p,(n-deltat))
Now the problem is when I want plot(Results[1],Results[2]). Not possible!
I become the following error (in english it means: Error in
as.double.default(x) :Object cannot be transformed in double)
>
2007 Nov 13
2
Plot segments with different colors
Hello Everybody,
I'm trying to plot(x,y) using different colors.
I have to cut (x,y) into sub intervals.
And I want to plot this sub intervals using colors. But infortunally I don't
know how to do this with R.
Can any body help me please?
My code is looking like :
x<-c(tvar[1:t0],tvar[t0:(ts)],tvar[ts:n])
F<-c(var[1:t0],var[t0:(ts)],var[ts:n])
plot(x,F,xlab="Zeit
2008 Jul 05
5
help about random generation of a Normal distribution of several variables
Hello.
Somebody knows how can I generate a set of n random vectors of a
normal distribution of several variables?
For example, I want to generate n=100 random vectors of two dimensions
for a normal with mean c(0,1) and variance matrix:
matrix(c(2,1,1,3),2,2).
Thanks in advance,
Arnau.
2008 Jun 30
6
Plotting three time series on the same graph
Dear R Users,
I would like to plot three time series on the same graph, two axis on the
left and one axis on the right.
The time series that I am graphing on the left do not share a similar
scale: one has a range of 1:100 and the other a range of 25000:70000. How
can I display the tick marks for both on the left hand side without
superimposing them, i.e. one set of tick marks in black right
2008 Jul 18
1
re ad and check table
Dear R users,
I want to read a file like following :
if it is a table then z <- read.table(pathname, dec=".", header=TRUE)
else if it's not a table (image,doc,...) then send an error or something
like that
acually I have a read.table in the beginnig of my R code, and if my data is
not a table I become in my R console : fail in scan.
So the question is how to check the nature of
2008 Jul 14
1
eval.wih.vis
Hello,
I have an error since I run my R code. This error is :
Fehler in eval.with.vis(expr, envir, enclos) :
>
My code is:
#CONDITION1 : check if the right logfile is chosen
c1=log(z[,3],n)
if (c1==FALSE) {
plot(0:1,0:1,type = "n", axes=FALSE,xlab="",ylab="")
text(0.4,0.8,adj=0,paste("FEHLER"),col="red")
2020 Mar 26
3
LLVM pass to optimize redundant branch conditions
Hello All
I am looking for an LLVM pass that is able to detect branches whose condition is known if they are reached. To illustrate what I mean, I attached a screenshot showing a partial CFG of a function. The branch in basic block for.cond.cleanup3 tests the same condition as the branch in the entry block, and has the same target BB if the condition is false. Also, if you inspect the graph
2006 Jan 23
5
dial out and message playback
Hi,
In a normal PBX environment a user usually calls in and IVR's are played
according to a predefined dialplan.
Iam trying to develop an application where asterisk dials out to a user and
initiates an IVR instead (please note that the IVR is not static and may
vary according to different condtions).
Can someone guide me how this is possible using Asterisk. Do I need to write
some sort of
2007 Jun 12
4
pretty report
Dear Listers:
I have a couple of data frames to report and each corresponds to
different condtions, e.g. conditions=c(10, 15, 20, 25). In this
examples, four data frames need to be exported in a "pretty" report.
I knew Perl has some module for exporting data to Excel and after
googling, I found R does not.
So I am wondering if there is a package in R for generating good
reports. I
2008 Mar 04
1
automatically save graphic
Dear R users,
I write some code which produce a graphic
Now I try at the end to output it (bitmap or jpeg) like this way :
- pop up window asking me to choose a path where to save my picture
- choose name for this picture
thanks you in advance,
Adel
--
View this message in context: http://www.nabble.com/automatically-save-graphic-tp15822254p15822254.html
Sent from the R help mailing list