[R] Empirical k-quantile function

2017-02-16 Thread Art U
Hello, Suppose I have one vector of values or even matrix of those vectors and I want to calculate q_k(V/k), where V is the vector, k is a quantile and q_k is empirical k-quantile function. Finally I want to calculate Q_k=min(1, q_k) for k=(0,1). Can you please help me with this code? quantile fu

Re: [R] cluster data in lattice dotplot and show stdev

2017-02-16 Thread Duncan Mackay
Hi Luigi I think your data is duplicated > xtabs(~cluster+type+target,my.data) , , target = A type cluster blank negative positive run_1 222 run_2 000 , , target = B type cluster blank negative positive run_1 000

Re: [R] cluster data in lattice dotplot and show stdev

2017-02-16 Thread Jim Lemon
Hi Luigi, Are you looking for something like this? library(plotrix) ylim=c(0,1.7) png("lmplot.png",width=600,height=300) par(mfrow=c(1,2)) brkdn.plot(value~type,data=my.data[my.data$target=="A",], main="Run 1",ylab="Value",xlab="",xaxlab="target",ylim=ylim, mct="mean",md="sd",pch=c("B","N","P"))

Re: [R] R version 3.3.2, Windows 10 -- gstat.predict() function often return NaN values (GSTAT Package)

2017-02-16 Thread Rathore, Saubhagya Singh
I am adding my message in the mail body as I found it missing from the mail that finally got posted on the list. I am trying to simulate a combination of two different random fields (yy1 and yy2 different mean and correlation length) with an irregular boundary. I have attached the picture of m

Re: [R] non-linear optimisation ODE models

2017-02-16 Thread David Winsemius
> On Feb 15, 2017, at 1:43 PM, Jim Lemon wrote: > > Hi Malgorzata, > The function "rxnrate" seems to want three values in a list with the > names "k1", "k2" and "k3". If you are passing something with different > names, it is probably going to complain, so the names "A", "B" and "C" > may be you

[R] cluster data in lattice dotplot and show stdev

2017-02-16 Thread Luigi Marongiu
dear all, i have a set of data that is separated in the variables: cluster (two runs), type (blank, negative and positive) and target (A and B), each duplicated. I am plotting it with lattice and the result is a 2x2 matrix plot in which the top two cells (or panels) are relative to run 2, the lower

[R] R version 3.3.2, Windows 10 -- gstat.predict() function often return NaN values (GSTAT Package)

2017-02-16 Thread Rathore, Saubhagya Singh
__ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible cod

[R] MS SQL Server R Services review.

2017-02-16 Thread John McKown
I just picked this up over on "Vulture Central" http://www.theregister.co.uk/2017/02/16/r_sql_server_great_but_beware/ The author seems both pleased and not pleased. Mainly digging at R's use (or abuse) of memory being a cause of many failures. And the fact that is is "slow" (states Python runs 17