[R] Equivalent to Matlab's "Ans"

2009-06-30 Thread Stephane
Hi everyone, I was just wondering if there is an equivalent in R to the shortcut "Ans" in MatLab whereby I can use the previous result for the current command? This could save a lot of time when hacking in R itself, not from an editor. Thanks, Stephane [[alternative HTML versi

[R] Font size in plots (I do NOT understand par help)

2008-08-06 Thread Stephane Bourgeois
Hi, I do not get how par works, help please. Let's say I have a simple plot: plot(1:10) I want to change the font size for the x axis... how do I do that? Thank you, Stephane -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a ch

Re: [R] Equivalent to Matlab's "Ans"

2009-06-30 Thread Stephane Reissfelder
[mailto:r-help-boun...@r-project.org] On Behalf Of Stephane > > Sent: Tuesday, June 30, 2009 2:07 PM > > To: r-help@r-project.org > > Subject: [R] Equivalent to Matlab's "Ans" > > > > Hi everyone, > > I was just wondering if there is an equival

[R] Partial derivatives of the multivariate cumulative distribution

2009-11-19 Thread Stephane LUCHINI
heta2, theta3, theta4 and the non-diagonal parameters in sigma, hence $\partial P_1 / \partial \theta_1$, etc... I can deal with numerical or analytical partial derivatives - a gradient would be fine since all observations share the same partial derivativ

[R] Problem with Numerical derivatives (numDeriv) and mvtnorm

2009-11-20 Thread Stephane LUCHINI
instruction "grad": grad(PP1,xx) [1] -42.58016 grad(PP1,xx) [1] 9.297055 grad(PP1,xx) [1] -6.736725 grad(PP1,xx) [1] -20.71176 grad(PP1,xx) [1] 18.51968 The "problem" is the same if I turn to the jacobian function (when I want to compute all partial derivatives in o

Re: [R] Computing multivariate normal probabilities. Was: Re: Problem with Numerical derivatives (numDeriv) and mvtnorm

2009-11-22 Thread stephane Luchini
tion - would an appropriate "random" computation of partial derivative work?). Interestingly, mprobit also provides derivatives, exactly what I need. Unfortunatly it fails to install on mac os X! (I don't want to install windows in my system and my linux server is off for the momen

[R] mac os X: mprobit fails to install

2009-11-22 Thread stephane Luchini
Hi all, any chance that someone got through the installation problem of mprobit on mac os X? Stephane __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] mac os X: mprobit fails to install

2009-11-22 Thread stephane Luchini
Thanks. I have 10.5.8 with R 2.10.0 now (i still had 2.9 in my previous messages). I also have gcc-4.2 installed but no Xcode package. It still fails to install - can it be the Xcode package? Where can I find it - I don't have my install CDs with me and will not get them soon? Stephane

[R] Troubles installing Rcmdr on Mac

2021-01-11 Thread CHAMPELY STEPHANE
Dear colleagues, I try to help my (french) student since five days to install Rcmd for mac and they have (ALL of them, and I use windows so I am not very skilled for that task) the same problem. When they load Rcmd, some supplementary tools (in order to use the command "otool") are missing accor

[R] proxy with authentification

2019-10-21 Thread Stephane Kuhn
Hello, /We are using an explicit proxy with authentication for user internet access. It's not an option to create entire lists of always changing URLs of the entire R mirror network that would not require authentication./ /There seem to exist several methods for user authentication (https://su

[R] RGL plot : cex and zlim arguments do not work

2012-09-25 Thread Stephane Chantepie
of time on that. If you have a solution, please let me know! stephane [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] RGL plot : cex and zlim arguments do not work

2012-11-29 Thread Stephane Chantepie
Linux" release "2.6.32-5-amd64" " packages: rgl_0.92.892 misc3d_0.8-3 2012/9/25 Duncan Murdoch > On 25/09/2012 11:07 AM, Stephane Chantepie wrote: > >> Dear all, >> >> I have a quiet simple problem (shared by a collegue) but no solution at >&

Re: [R] RGL plot : cex and zlim arguments do not work

2012-11-29 Thread Stephane Chantepie
text function like mtext3d and axe3d. It looks like "cex" argument do not have any effect on function which can use it. I hope that it is more clear stephane 2012/11/29 Duncan Murdoch > On 29/11/2012 1:34 PM, Stephane Chantepie wrote: > >> Hi Ducan and others, >

Re: [R] Correlation question

2010-09-08 Thread Stephane Vaucher
3L, 3L, 3L, 3L, 16L, 16L, 16L, 16L, 16L, 16L, 16L), SU_tot = c(19L, 19L, 19L, 19L, 19L, 19L, 19L, 19L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 16L, 16L, 16L, 16L, 16L, 16L, 16L), SR = c(17L, 17L, 17L, 17L, 17L, 17L, 17L, 17L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 17L, 17L, 17L,

Re: [R] Correlation question

2010-09-09 Thread Stephane Vaucher
"P7", "HP_tot"), class = "data.frame", row.names = c(NA, -25L)) Correct output is obtained by avoiding matrix computation of correlation: cor(test.number$P3, test.number$HP_tot, method='spearman') [1] -0.2182876 It seems that a text column corrupts

Re: [R] Correlation question

2010-09-09 Thread Stephane Vaucher
-linux-gnu attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base" As well as on a 32 bit linux arch v2.9.0. Sincere regards, sv On Thu, 9 Sep 2010, Joshua Wiley wrote: Hi S

Re: [R] Correlation question

2010-09-09 Thread Stephane Vaucher
he respect of the preconditions preconditions. Otherwise, it would have been good to add to the documentation and state that when there are non-numeric data, cor() can compute garbage. cheers, Stephane -Peter Ehlers [rest snipped; not relevant to my comments.] __

[R] Correlation question

2010-09-08 Thread Stephane Vaucher
"LP1.2" [52] "LP1.3""LP1.4""LP_tot" [55] "LO1.1""LO1.2""LO1.3" [58] "LO1.4""LO_tot" "LU1.1" [61]

[R] RGL plot : lighting problem when triangle3d and persp3d are used in the same plot

2012-08-27 Thread Stephane Chantepie
Dear all, I have tried to plot a triangular matrix with the function persp3d(rgl). for example z=rbind(c(1,NA,NA,NA),c(5,3,NA,NA),c(4,2,9,NA),c(8,6,5,11)) x=1:4 y=1:4 persp3d(x,y,z,color="gray") The two extreme points are not plotted (value=1 and value=10). It seems because the half of the matr

Re: [R] RGL plot : lighting problem when triangle3d and persp3d are used in the same plot

2012-08-28 Thread Stephane Chantepie
olor="gray",smooth=1)) The idea behind this trick is to transform the matrix in triangle surfaces before to plot them. I hope this could help someone else cheers 2012/8/27 Duncan Murdoch > On 27/08/2012 1:47 PM, Stephane Chantepie wrote: > >> Dear all, >> >> I

[R] [R-pkgs] PairedData: a new package for analysing paired (numerical) data

2011-12-31 Thread CHAMPELY STEPHANE
Dear R users, I'd like to announce the PairedData package (version 0.5). This package provides a set of graphical tools (based on ggplot2), statistics, effect sizes and some classical and robust tests, confidence intervals and random simulation functions for analysing paired data. Several datas

[R] creating a dataframe using a list of the variable names

2008-06-28 Thread Stephane Bourgeois
row.names=polyList) which works fine, but when there are several hundreds samples... well, you guess my problem. I'd like to create the dataframe using the list of the variables, contained in sampleList - i.e. something like data.frame(function(sampleList), row.names=polyList) Is that possible,

[R] How to get an argument dynamically from a list?

2008-06-29 Thread Stephane Bourgeois
g polyList. I tried > get(paste("data.raw$", polyList[2], sep="")) Error in get(paste("data.raw$", polyList[2], sep = "")) : variable "data.raw$rs124" was not found but it's obviously not the right way, data.raw$rs124 not bei

[R] attributing values to dataframe positions following eval

2008-07-08 Thread Stephane Bourgeois
;- 5 Error in eval(polyList[[1]])[1, 1] <- 5 : could not find function "eval<-" Anybody has an idea on how to do that? Thank you, Stephane PS: yes, I'm aware that using arrays and dataframes instead of going through the creation of variables may be more practic

[R] read.table : how to condition on error while opening file?

2009-02-19 Thread Stephane Bourgeois
elist[i], sep="")) next } else { tmp <- read.table(filelist[i]) } } Cheers, Stephane -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a compa ny registered i