[R] Hi

2011-03-01 Thread preeja
Hi, I am facing problem for classification based on graph kernels. we calculated the kernel between two molecule data set.Then I am confused about classification -- View this message in context: http://r.789695.n4.nabble.com/Hi-tp3329650p3329650.html Sent from the R help mailing list archive at

Re: [R] Is there any Command showing correlation of all variables in a dataset?

2011-03-01 Thread Mike Marchywka
> Date: Tue, 1 Mar 2011 02:41:00 -0800 > From: joo...@hanmail.net > To: r-help@r-project.org > Subject: [R] Is there any Command showing correlation of all variables in a > dataset? > > > Thanks in advance. > > I want to derive correlations of va

Re: [R] Robust variance estimation with rq (failure of the bootstrap?)

2011-03-01 Thread James Shaw
Matt: Thanks for your prompt reply. The disparity between the bootstrap and sandwich variance estimates derived when modeling the highly skewed outcome suggest that either (A) the empirical robust variance estimator is underestimating the variance or (B) the bootstrap is breaking down. The boots

Re: [R] SetInternet2, RCurl and proxy

2011-03-01 Thread Manta
Dear all, I am facing a problem. I am trying to install packages using a proxy, but I am not able to call the setInternet2 function, either with the small or capital s. What package do I have to call then? And, could there be a reason why this does not function? Thanks, Marco -- View this messa

[R] bootstrap resampling question

2011-03-01 Thread Bodnar Laszlo EB_HU
Hello there, I have a problem concerning bootstrapping in R - especially focusing on the resampling part of it. I try to sum it up in a simplified way so that I would not confuse anybody. I have a small database consisting of 20 observations (basically numbers from 1 to 20, I mean: 1, 2, 3, 4,

[R] Is there any Command showing correlation of all variables in a dataset?

2011-03-01 Thread JoonGi
Thanks in advance. I want to derive correlations of variables in a dataset Specifically library(Ecdat) data(Housing) attach(Housing) cor(lotsize, bathrooms) this code results only the correlationship between two variables. But I want to examine all the combinations of variables in this dataset

[R] which does the "S.D." returned by {Hmisc} rcorr.cens measure?

2011-03-01 Thread vikkiyft
Dear R-help, This is an example in the {Hmisc} manual under rcorr.cens function: > set.seed(1) > x <- round(rnorm(200)) > y <- rnorm(200) > round(rcorr.cens(x, y, outx=F),4) C IndexDxy S.D. nmissing uncensored Relevant Pairs Concordant

[R] df.residual for rlm()

2011-03-01 Thread Jan
Hello, for testing coefficients of lm(), I wrote the following function (with the kind support of this mailing list): # See Verzani, simpleR (pdf), p. 80 coeff.test <- function(lm.result, idx, value) { # idx = 1 is the intercept, idx>1 the other coefficients # null hypothesis: coeff = value

Re: [R] How to Save R library data into xls or dta format

2011-03-01 Thread Prof Brian Ripley
On Tue, 1 Mar 2011, Santosh Srinivas wrote: for excel .. see library(xlsx) (That's for Excel >= 2007 only, .xlsx not .xls are requested.) Simply consult the relevant manual, 'R Data Import/Export': all of this is covered there. There is a very new package XLConnect that is only covered in

Re: [R] getting attributes of list without the "names".

2011-03-01 Thread Duncan Murdoch
On 11-02-28 11:17 PM, Jeroen Ooms wrote: I am trying to encode arbitrary S3 objects by recursively looping over the object and all its attributes. However, there is an unfortunate feature of the attributes() function that is causing trouble. From the manual for ?attributes: The names of a pairli

Re: [R] Help

2011-03-01 Thread Martyn Byng
Hi, It is a bit unclear what it is you are trying to do, as mentioned in replies by a variety of people previously, if you are just trying to get your data into R and label rows / columns, then tt = matrix(c(24,134,158,9,52,61,23,72,95,12,15,27),ncol=3,byrow=T) rownames(tt) = c("None", "Healthy"

[R] RWinEdt difficulties

2011-03-01 Thread John Seers
Hello Everyone I have just upgraded my PC to Windows 7 (64 bit) and I have installed R 2.12.2. R seems to be working fine. I am having problems getting RWinEdt working with it though. I have tried installing WinEdt 6.0 and WinEdt 5.5. But both fail with the same error using R as 64 bit or 32 bit

Re: [R] How to Save R library data into xls or dta format

2011-03-01 Thread Santosh Srinivas
for excel .. see library(xlsx) On Tue, Mar 1, 2011 at 2:57 PM, JoonGi wrote: > > Thanks in advance. > > I'm having a trouble with data saving. > > I want to run the same data which is in Ecdat library at different statistic > programs(excel, stata and matlab) > > The data I want to use is > > lib

[R] How to Save R library data into xls or dta format

2011-03-01 Thread JoonGi
Thanks in advance. I'm having a trouble with data saving. I want to run the same data which is in Ecdat library at different statistic programs(excel, stata and matlab) The data I want to use is library(Ecdat) data(Housing) and I want to extract this data our of R as *.dta *.xls formats. So,

Re: [R] tricky (for me) merging of data...more clarity

2011-03-01 Thread Grant Gillis
Hi Again, Thanks very much for your response. It seems my example got rearranged (transposed?) after I posted it. Hopefully this example will be more clear. I have one file (ex. sheet 1) that will have a column for individuals (ind) and a column for the date (date). I would like to merge this

Re: [R] stuk at another point: simple question

2011-03-01 Thread Dennis Murphy
Hi: This is *really* ugly, but given the number of variables you have in mind, it seems rather necessary, at least to me. # Given an original data frame dataf, find the max ID number: Mvars <- names(dataf)[grep('^M', names(dataf))] # Pick out the number of variables that start with M: n <- max(as

Re: [R] Simulation

2011-03-01 Thread Ivan Calandra
Well, knowing how your data looks like would definitely help! Say your data object is called "mydata", just paste the output from dput(mydata) into the email you want to send to the list. Ivan Le 3/1/2011 04:18, bwaxxlo a écrit : I tried looking for help but I couldn't locate the exact solutio

Re: [R] Help

2011-03-01 Thread Ivan Calandra
Hi Laura, Have you read this documentation http://cran.r-project.org/doc/manuals/R-data.pdf ? If not, you should. Specifically, see read.table() and read.csv(). When you'll have this, you can look for functions that can import xls or xlsx spreadsheets directly, but you're not that far yet. T

[R] Explained variance for ICA

2011-03-01 Thread Pavel Goldstein
Hello, I think to use FastICA package for microarray data clusterization, but one question stops me: can I know how much variance explain each component (or all components together) ? I will be very thankful for the help. Thanks, Pavel [[alternative HTML version deleted]] _

[R] Help

2011-03-01 Thread Laura Clasemann
Hi, I've been working with R the past few days in trying to get a proper table set up but have not had any luck at all and the manuals I've read have not worked for me either. I was wondering if anyone here would be able to help me in setting this data up in R both as a table and as a bargrap

[R] Simulation

2011-03-01 Thread bwaxxlo
I tried looking for help but I couldn't locate the exact solution. I have data that has several variables. I want to do several sample simulations using only two of the variables (eg: say you have data between people and properties owned. You only want to check how many in the samples will come up

<    1   2