[R] turning comma separated string from multiple choices into

2016-10-10 Thread silvia giussani
=favorite_magazine, fixed=TRUE)), where strings <- c("Fast Company", "Havard Business Review", ...). (I take it that the mechanism is such that you can rely on at least having everything misspelled in the same way? If it is alternatingly "Havard" and "Harvar

[R] Questions about R

2013-11-06 Thread Silvia Espinoza
there any risk that someone else can have access to the information? Thanks in advance for your attention and for any help you can provide me. Silvia Espinoza [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] hi.

2013-05-07 Thread Silvia Lucato
Breakthrough Diet Exposed: Celebrity Doctor Uncovers The "Holy Grail of Weight Loss" http://www.trainingloyalcompanions.com/yrxccw.php [[alternative HTML version deleted]] __ R-help@r-project.org mailing list h

[R] replacing NA for zero

2012-06-12 Thread Silvia Lucato
Dear R users, I have a very basic query, but was unable to find a proper anwser. I have the following data.frame x y 2 0.12 3 0.25 4 0.11 6 0.16 7 0.20 and, due to further calculations, I need the data to be stored as x y 1

[R] Multiple correlation

2012-05-02 Thread Silvia Molteni
I'm looking for a function for the "multiple correlation" among three variables. I have created three vectors (x, y and z) and I want to find a correlation coefficient and evaluate its significance. Can anyone help me?   Thanks in advance. [[alternative HTML version deleted]]

[R] significant results with KW but not in post-hoc test

2011-07-06 Thread Silvia Lomascolo
find anything in the internet, not in my stats books about how to explain this contradictory result. I have also seen that somebody else asked this question in this forum but she got no answers. Can anybody help me understand what is going on? Thanks, Silvia. -- View this message in context: http

[R] aspect ratio 1 and blank space

2010-11-17 Thread Silvia Cecere
Hi, I need to produce an ordinary scatter plot and it is vital that the aspect ratio equals 1. I set the axis as: plot(x, y, type="n", asp=1, ,ylim=c(-80,70),xlim=c(0,100)). The problem is that I get some 'additional' blank plot area (basically, the lower bound of xlim becomes quite negative

[R] minimum AIC mixed model selection

2010-11-12 Thread SILVIA DIAZ FERNANDEZ
not know how to select the best model using AIC here. Is there a way to do this automatically with R? Thank you for any help! Silvia - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Por favor, para comunicarte conmigo utiliza preferen

[R] Minimum AIC mixed model selection

2010-11-12 Thread Silvia
to select the best model using AIC here. Is there a way to do this automatically with R? Thank you for any help! Silvia -- View this message in context: http://r.789695.n4.nabble.com/Minimum-AIC-mixed-model-selection-tp3039410p3039410.html Sent from the R help mailing list archive at

Re: [R] Sampling a matrix with different probability distributions

2009-05-05 Thread Silvia Lomascolo
rgument is "unused"". I > have also tried prob=unif, or directly prob=c(10, 9, 6, 5, 3), but I get > the same error message. Any hints as to how I am passing the prob argument > wrong? This is probably too basic... > > Thanks, Silvia. > -- > Gregory (Gre

[R] Sampling a matrix with different probability distributions

2009-05-05 Thread Silvia Lomascolo
the same token, I want to sample with a uniform distribution as well. How do I do this? Thanks, as usual! Silvia. -- View this message in context: http://www.nabble.com/Sampling-a-matrix-with-different-probability-distributions-tp23390324p23390324.html Sent from the R help mailing

Re: [R] How do I sample "cases" within a matrix?

2009-04-30 Thread Silvia Lomascolo
Thank you! This seems to work!!! Silvia. Charles C. Berry wrote: > > > See below > > On Wed, 29 Apr 2009, Silvia Lomascolo wrote: > >> >> Hi R community, >> I am trying to obtain a sample from a matrix but sample(my.matrix) >> doesn&#x

Re: [R] How do I sample "cases" within a matrix?

2009-04-30 Thread Silvia Lomascolo
age hasn't been posted but all of you did get it. I'm subscribed to the list. I followed all the instructions to do it, but it still says that I cannot post on the forum... I'm confused Olivier ETERRADOSSI wrote: > > Hi again Silvia (last time... ?), > now : do I

[R] How do I sample "cases" within a matrix?

2009-04-29 Thread Silvia Lomascolo
earched this forum for an answer but all questions regarding sampling from matrices refer to sampling whole rows or columns, not "cases" within a matrix. Thanks in advance for any help! Silvia. -- View this message in context: http://www.nabble.com/How-do-I-sample-%22cases%22-within-a-mat

[R] How do I sample "cases" within a matrix?

2009-04-29 Thread Silvia Lomascolo
x27;t give me what I want... I have searched the forum for an answer but all questions regarding sampling from matrices refer to sampling whole rows or columns, not "cases" within a matrix. Thanks in advance for any help! Silvia. -- View this message in context: http://www

Re: [R] Novice question about getting data into R

2008-09-19 Thread Silvia Lomascolo
> refdata = > read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv", header > = TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 42 elements > refdata = > read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv") Error

[R] cannot allocate vector of size...

2008-07-25 Thread silvia narduzzi
#which should be the memory size > memory.size(max = TRUE) [1] 997.75 #which should be the maximum amount of memory obtained from the OS Could it be an hardware problem? or a code problem? Is there any solution? Thanks Silvia Narduzzi Dipartimento di Epidemiologia ASL RM E Via di S. Cost

[R] maximum likelihood method to fit a model

2008-07-23 Thread silvia narduzzi
ood method? Thanks Silvia Narduzzi Dipartimento di Epidemiologia ASL RM E Via di S. Costanza, 53 00198 Roma Tel +39 06 83060461 Mail [EMAIL PROTECTED] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

[R] errors using step function

2008-07-18 Thread silvia narduzzi
= FALSE], y, wt, offset = object$offset, : inner loop 1; cannot correct step size In addition: Warning message: step size truncated due to divergence Could someone help me??? Thanks Silvia Narduzzi Dipartimento di Epidemiologia ASL RM E Via di S. Costanza, 53 00198 Roma Tel +39 06 83060461

[R] errors using step function

2008-07-17 Thread silvia narduzzi
= FALSE], y, wt, offset = object$offset, : inner loop 1; cannot correct step size In addition: Warning message: step size truncated due to divergence Could someone help me??? Thanks Silvia Narduzzi Dipartimento di Epidemiologia ASL RM E Via di S. Costanza, 53 00198 Roma Tel.: +39 06 83060461

[R] problem

2008-07-16 Thread silvia narduzzi
; impossibile correggere la ampiezza del passo Inoltre: Warning message: ampiezza del passo ridotta a causa della divergenza Could someone help me??? Thanks Silvia [[alternative HTML version deleted]] __ R-help@r-project.org maili

[R] Replace a list of values in data frame

2008-02-29 Thread Silvia Lipski
t;,"dark") gives this warning message: In test$response : $ operator is invalid for atomic vectors, returning NULL and returns all values for $response: > test2 [1] black brown redblack . I have tried many other things but nothing helps. I would be very grateful for yo

[R] plotting other axes for PCA

2008-01-18 Thread Silvia Lomascolo
scores of the cases, but I don't get the arrows proportional to the loadings of each variables on each axis. Any hints on this? Thanks, Silvia. -- View this message in context: http://www.nabble.com/plotting-other-axes-for-PCA-tp14952955p14952955.html Sent from the R help mailing list archi

[R] PCA error: svd(x, nu=0) infinite or missing values

2008-01-04 Thread Silvia Lomascolo
is greatly appreciated! Silvia. CODE: ot = read.table('C:\\Documents and Settings\\...\\matrix.txt', header=T) ot.pca = prcomp(ot, scale.=T, na.omit)#this is as far as I got. I have also tried princomp but I get a very similar error message I use Windows, and R version 2.6.0. -- View

[R] duplicate rows in a matrix

2007-11-02 Thread Silvia Lipski
(A[1,],A[1,],A[2,],A[2,]) - which is really impractible, of course. Can anyone help, please? Thank you, Silvia __ 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

Re: [R] linking Tinn-R to a new R version

2007-10-26 Thread Silvia Lomascolo
Thanks! That worked. Silvia. Bos, Roger wrote: > > Silvia, > > Option / Main / Application then click on the 'R' tab. At the bottom of > the window you can browse to the new location. > > HTH, Roger > > -Original Message- > From: [EMAIL P

[R] linking Tinn-R to a new R version

2007-10-26 Thread Silvia Lomascolo
't been able to make that button work again. It tells me "The specified file was not found", probably because it's looking for R 2.4.1. Thanks! Silvia. -- View this message in context: http://www.nabble.com/linking-Tinn-R-to-a-new-R-version-tf4699061.html#a13433013 Sent

[R] error in sample ()

2007-10-16 Thread Silvia Lomascolo
I am trying to get a random matrix based on an original matrix called disperser.mx, with dimensions 30x73 When I write the following code: >scramble = sample (disperser.mx) >newmat = matrix(scramble, nrow=30) I get the following warning message and a very weird matrix with 30 rows but only 3 co

[R] help with stepclass (klaR)

2007-10-03 Thread Silvia Lomascolo
means? Also, it returns only 2 out of the 79 variables as important, however these variables don't make any biological sense... Might this be a problem of my coding? Here's some code and sample matrix: >library(klaR) >var <- read.table("C:\\Documents and Settings\\My

[R] error in manova

2007-09-20 Thread Silvia Lomascolo
summary.manova(manova(as.matrix(volatileVar) ~ disperser.mx$disperser), : residuals have rank 23 < 78" I would appreciate any help you can offer! Silvia. -- View this message in context: http://www.nabble.com/error-in-manova-tf4489610.html#a12804209 Sen

Re: [R] Non-metric multidimensional scaling

2007-09-20 Thread Silvia Lomascolo
t remove one of the two. They both have the same distance to all other objects so your results shouldn't change. Whatever conclusion you draw from the location of one on your plot, you can say the same for the other. Silvia. Thanks in advance Steve Steve Friedman, PhD Ev

[R] SUPER PARAMAGNETIC CLUSTERING

2007-09-20 Thread Silvia Figini
Dear all, we would like to know if there exist some routines (software) to build models based on the super paramagnetic clustering. Best regards, Silvia Figini -- Silvia Figini Department of Statistics "L. Lenti" University of Pavia Via Strada Nuova, 65 - 27100 - Pavia, Italy tel