[R] Help on Principal Component Analysis in R

2015-01-13 Thread R Help!
have converted the csv file into a matrix in R. Thanks in advance for all your help. I'd appreciate step by step instructions on how to go from my csv file to a PCA biplot in R. [[alternative HTML version deleted]] ______ R-help@r-project.or

Re: [R] changing column labels for data frames inside a list

2015-03-31 Thread r-help
> Date: Mon, 30 Mar 2015 09:54:39 -0400 > From: Vikram Chhatre > To: r-help@r-project.org > Subject: [R] changing column labels for data frames inside a list > Message-ID: > Content-Type: text/plain; charset="UTF-8" > > > summary(mygenfreqt) >

Re: [R] If else statements

2010-03-23 Thread R Help
it? > Thank you.=) > > Example: > > for (v in 1:6) { > for (i in 2:200) { > if (v==1) > (if max(x*v-y*v)>1 break()) > > if (v==2) > (if max(x*v-y*v)>1.8 break()) > > if (v==3) > (if max(x*v-y*v)>2 break()) > } > } > -- > View this mes

Re: [R] difference of two rows

2009-11-25 Thread R Help
3 > 15 2006       2 > 15 2008      NA > 21 2006       1 > 21 2007      NA > > that should be fairly easy...I hope > Thanks for any helpful comments > B. > > > > -- > View this message in context: > http://old.n

Re: [R] Missing and number of days

2009-11-26 Thread R Help
41     25 > >        15     07   NA    10 > > > > > > The second question is I want to calculate the number of days between two > dates > >    Start           end                 number of days > > 20020626    20020805             40 > > 20030101    20030421        

Re: [R] Hazard ratio

2009-12-10 Thread R Help
;>           coef       exp(coef)  se(coef)       z          Pr(>|z|) >> y1    -0.024084  0.976204  0.003077 -7.828 5.00e-15 *** >> x2     0.036161  1.036822  0.083921  0.431   0.6665 >> >>         exp(coef)  exp(-coef)   lower .95    upper .95 >>  y1      0.9762     1

[R] how to add a derived column to a data frame?

2011-01-16 Thread r-help
:1,1000,10) dimnames(a)=list(NULL,LETTERS[1:10]) [[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-project.org

[R] Two questions on R and cairo/Cairo

2010-08-09 Thread r-help
built-in support for cairo or using the Cairo package? Carsten ______ 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-guide.html and provide commented, min

[R] Paired t-tests

2010-08-15 Thread R Help
the equation isn't retaining the inherent order of the dataset, so the pairing isn't matching up (even though the dataset is ordered by ID). Is there a way to make the t.test retain the correct ordering? Thanks, Sam __ R-help@r-project.org m

Re: [R] as.logical(factor) behaviour

2010-08-15 Thread R Help
methods   base > > Thanks, > > Philippe > -- > ..<°}))>< >  ) ) ) ) ) > ( ( ( ( (    Prof. Philippe Grosjean >  ) ) ) ) ) > ( ( ( ( (    Numerical Ecology of Aquatic Systems >  ) ) ) ) )   Mons University, Belgium > ( ( ( ( ( >

[R] Can Cairo do better?

2010-09-07 Thread r-help
t;, main="Created on the grid via Cairo", pch=4) ||abline(lm(faithful$waiting~faithful$eruptions)) ||dev.off()| Thanks in advance, CBy ______ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Results of CFA with Lavaan

2011-06-08 Thread R Help
0.9790.1128.7370.000 speed 0.3840.0864.4510.000 ______ 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-guide.html

Re: [R] Results of CFA with Lavaan

2011-06-08 Thread R Help
--- > John Fox > Senator William McMaster >  Professor of Social Statistics > Department of Sociology > McMaster University > Hamilton, Ontario, Canada > http://socserv.mcmaster.ca/jfox > > > >> -Original Message- >> From: r-help-

Re: [R] Histogram

2011-06-08 Thread R Help
ike it to be similar to the figure attached. How can I generate this > using R ? > > > Thank you, > Nandini http://r.789695.n4.nabble.com/file/n3582448/5634-15977-1-PB.gif > > -- > View this message in context: > http://r.789695.n4.nabble.com/Histogram-tp3582448p3582448.h

Re: [R] Results of CFA with Lavaan

2011-06-09 Thread R Help
s for your help, and I'll certainly be using lavaan in the future, Sam On Thu, Jun 9, 2011 at 6:19 AM, yrosseel wrote: > On 06/08/2011 11:56 PM, R Help wrote: >> >> Yes, that is the difference.  For the last SEM I built I fixed the >> factor variances to 1, and I think tha

Re: [R] Histogram

2011-06-09 Thread R Help
ive heights" for x1-x2 intervals, > left-continuous. > > Any idea how to do this? > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Steven Kennedy > Sent: Thursday, June 09, 2011 3:28 AM > To: nandini_bn &g

Re: [R] Histogram

2011-06-09 Thread R Help
Sam, > This is exactly what I wanted. Could you please explain the code ? what does > 15, 0.65 and 0.25 stand for ? > > > Nandini > > > > >> Date: Wed, 8 Jun 2011 19:16:06 -0300 >> Subject: Re: [R] Histogram >> From: rhelp.st...@gmail.com >> To: nandin

Re: [R] set.seed and for loop

2011-06-09 Thread R Help
th for loop. > How can I get 23th data set without the loop? > > Thank you, > Soyeon > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www

Re: [R] Results of CFA with Lavaan

2011-06-09 Thread R Help
tupid + reimmature + takerisksFthinkcool + takeriskFthinkIMP + takeriskFthinkbrave + takeriskFthinkexciting + reSELF + reNORISK + reNOPERSON + reNOCONSE + reWRONG + reGEAR + reCONSEQ + reSUCES On Thu, Jun 9, 2011 at 6:19 AM, yrosseel wrote: > On 06/08/2011 11:56 PM, R Help wrote: >> >> Yes, that

Re: [R] Results of CFA with Lavaan

2011-06-09 Thread R Help
ht have been able to figure it out myself. Thanks, Sam On Thu, Jun 9, 2011 at 1:02 PM, yrosseel wrote: > On 06/09/2011 05:21 PM, R Help wrote: >> >> Ok, I think this is the last question I have.  My model is producing >> an estimate of intercepts for my variables along with m

Re: [R] set.seed and for loop

2011-06-09 Thread R Help
t;- runif(50) > } > set.seed(1001) > data[[23]] <- runif(50) > > HTH > Samuel > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Soyeon Kim > Sent: 09 June 2011 16:15 > To: r-help > Subject: [R] set

[R] Plotting NLS profiles

2011-06-10 Thread R Help
conf = c(95, 90, 80, 50)/100,xlab=expression(theta),col=1) # doesn't change ______ 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-guide.html and pro

[R] Path Analysis

2010-05-24 Thread R Help
sure','benefit','norms','childBarrier','parentBarrier','knowBenefit')) Is this correctly modeling my diagram? I'm not sure if a) I'm dealing with the categorical variable correctly, or b) whether fixed.x is accurately modeling

Re: [R] Path Analysis

2010-05-24 Thread R Help
ster >  Professor of Social Statistics > Department of Sociology > McMaster University > Hamilton, Ontario, Canada > web: socserv.mcmaster.ca/jfox > > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On >

Re: [R] Writing custom functions for rpart

2008-01-10 Thread R Help
ethods are coded in a different way, there are no > > > examples to follow. > > > > But there are, in the tests directory. > > Thanks, I had missed those. Perhaps a pointer from the documentation > would be appropriate? > > Hadley > > > __ >

[R] Changing a plot

2008-09-24 Thread R Help
ation, feel free to contact me. Thanks a lot, Sam Stewart ______ 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-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Changing a plot

2008-09-25 Thread R Help
graphic. What I want to be able to do is replt the green point without removing the background. Sam Stewart On Wed, Sep 24, 2008 at 11:12 AM, Ben Bolker <[EMAIL PROTECTED]> wrote: > R Help gmail.com> writes: > >> >> Hello list, >> >> I've been work

Re: [R] User defined split function in rpart

2008-02-11 Thread R Help
mean<-1 > list(label= wmean, deviance=dev) > > } > > I get the error: Error in eval(expr, envir, enclos) : argument "data" is > missing, with no default > > How can I use the data of the current node? > > Thank you > Tobias Guennel > > ___

Re: [R] User defined split function in Rpart

2008-02-13 Thread R Help
s <- (left.wt*lmean^2 + right.wt*rmean^2)/sum(wt*y^2) > list(goodness= goodness, direction=sign(lmean)) > } > } > > Paolo Radaelli > Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali > Facoltà di Economia > Università degli Studi di Milano-Bicocca &

[R] Cross Validation in rpart

2008-02-22 Thread R Help
itting function more than the other, but they both produce the exact same thing. Is there something I'm missing about the cross-validation process for rpart? Thanks, Sam Stewart ______ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

Re: [R] re place column names

2008-02-22 Thread R Help
t;X2" "X3" "X4" "X5" "X6" "X7" "X8" "X9" "X10" "X11" "X12" > > [13] "X13" "X14" "X15" "X16" "X17" "X18" "X19"

[R] lmer and correlation

2008-03-13 Thread R Help
o I make a lot of calls to lme to get the resulting deviance, and lmer2 is almost 5 times faster than lme on my test data, so if it may be implemented later I'd be willing to wait, otherwise I might look into trying to hack it myself. Sam Stewart ____

Re: [R] layout function for several plots

2007-09-19 Thread R Help
lot to > delineate in 4 big fields (containing each 5 plots) > > Thanks a lot > > > -- > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide

[R] font family 'symbol'

2007-09-26 Thread R Help
fam = '' } par(family=fam) # Thanks, Sam __ 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-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Converting to mode numeric within a matrix

2007-09-28 Thread R Help
ve something to do with the second column of > the matrix, where I write No/Yes. > What should I do to have the first column of mode numeric? > Also, how can I output No/Yes in the second column without citation > marks around them? > > Thanks in advance > Sergey > > _

Re: [R] R: to view the memory

2007-09-12 Thread R Help
gt; [[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-project.org/posting-guide.html > a

[R] super and subscript in tcltk

2007-09-12 Thread R Help
ow the baseline? It should work like this ### t <- tktext(frame,font=f1) tktag.configure(t,"offset=-50") tkinsert(t,"end","m") tkinsert(t,"end","1") ### Any help would be very much appreciated. Thanks Sam __ 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-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] How to read and write an S4 class

2009-08-12 Thread ml-r-help
I text representation from which to regenerate the data dput(x, file=fn) y <- dget(fn) R_help Help wrote: > Hi, > > I have an object in S4 class. Is there anyway that I can write to a > file and read it back to R? Thank you. > > adschai > > _

Re: [R] Bug in package.skeleton, R 2.9.0?

2009-07-15 Thread ml-r-help
+46 8 5537 8481 >> MSN messenger: klevebr...@msn.com >> >> >> [[alternative HTML version deleted]] >> >> > > -- > > Contact information: > > Daniel Klevebring > M. Sc. Eng., Ph.D. Student > Dept of Gene Technology > Royal Institute of Technology, KTH > SE-106 91 Stockholm, Sweden > > Visiting address: Roslag

Re: [R] How to stop function printing unwanted output?

2009-08-06 Thread ml-r-help
or, > p.adj="bonferroni", group=FALSE, > + main="Yield of sweetpotato\ndealt with different virus") ) >> sink() >> comparison > trtmeans M N std.err > 1 cc 24.4 3 2.084067 > 2 fc 12.86667 3 1.246774 > 3 ff 36.3 3 4.233727 > 4 oo 36.9 3 2.482606 > >> Er

Re: [R] How to rbind listed data frames?

2010-05-04 Thread it-r-help
t; way: > > rbind(dataList[[1]], dataList[[2]], ...) > > but I would like to use lapply or a for loop to get rid of specifying > the subscripts. The output of lapply(dataList, rbind) is always > > [,1] [,2] > [1,] List,3 List,3 > > Thanks for help... > >

Re: [R] if condition doesn't evaluate to True/False

2009-04-29 Thread ml-r-help
f two databases where I tried to get the > where clause for subgroup 1.In case of Database1 it was not available in > case of Databse2 it was available.But the problem may appear for the same > database also, when where clause is available for say one subgroup and not > for the other. > > > > -

Re: [R] if condition doesn't evaluate to True/False

2009-04-29 Thread ml-r-help
Petr PIKAL wrote: > Hi > > r-help-boun...@r-project.org napsal dne 29.04.2009 17:05:01: > >> see >> ?is.null >> >> e.g. >> if( is.null(sub_grp_whr_cls_data[sbgrp_no, 1]) ) >> { >> your code >> } > > It probably will not work

[R] [R-pkgs] Introducing the futile.paradigm, a package for functional dispatching in R

2010-10-26 Thread Nurometic R Help
___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ 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-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] R package tests

2009-01-15 Thread ml-r-help
ages in CRAN? > > Cheers, > Nathan > > ______ 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-guide.html and provide commented, minimal, self-co

Re: [R] Error in var(x, na.rm = na.rm) : no complete element pairs

2009-03-05 Thread ml-r-help
tand: Geert Nygaard (CEO/Vorsitzender) Oliver Schacht PhD (CFO) Aufsichtsrat: Prof. Dr. Dr. hc. Rolf Krebs (Chairman/Vorsitzender) ______ R-help@r-project.org mailing list https://stat.e

[R] Problem when trying to run Java in R:

2017-10-21 Thread Morkus via R-help
om), Swiss-based encrypted email. [[alternative HTML version deleted]] __ 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.o

[R] draw a circle with a gradient fill

2017-10-24 Thread Alaios via R-help
000, border = NULL, col = colors[5], lty = 1, lwd = 1) but this package does not give easily color gradients and so my solutions contains 5 same colors filled rings. Will there be any suggested improvements on my code above? Thanks a lotAlex [[alternative HTML version deleted]] ___

[R] Creating a data table (frame?) from a SQL Statement?

2017-10-24 Thread Morkus via R-help
so the boxM test will work? Thanks very much in advance. - M Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se

[R] Pass Parameters to RScript?

2017-10-30 Thread Morkus via R-help
]] __ 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 code.

Re: [R] Pass Parameters to RScript?

2017-10-30 Thread Morkus via R-help
encrypted email. > Original Message > Subject: Re: [R] Pass Parameters to RScript? > Local Time: October 30, 2017 9:39 AM > UTC Time: October 30, 2017 1:39 PM > From: ericjber...@gmail.com > To: Morkus > r-help@r-project.org > > I did a simple search and g

[R] Where to get support for Rserve?

2017-11-13 Thread Morkus via R-help
programming forum is not the right forum as it's only for "pure" R programming *** Would appreciate any suggestions. Thanks, - M Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. [[alternative HTML version deleted]] ____

Re: [R] Where to get support for Rserve?

2017-11-13 Thread Morkus via R-help
l](https://protonmail.com), Swiss-based encrypted email. > Original Message > Subject: Re: [R] Where to get support for Rserve? > Local Time: November 13, 2017 11:34 AM > UTC Time: November 13, 2017 4:34 PM > From: bgunter.4...@gmail.com > To: Morkus >

[R] Multivariate mixture distributions

2017-11-17 Thread psoppat via R-help
Dalhousie University [[alternative HTML version deleted]] ______ 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 a

[R] RStudio blank upon opening

2017-11-17 Thread Beginner via R-help
.S. I  launch RStudio with Ctrl-RStudio (that is set the path to R) [[alternative HTML version deleted]] ______ 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

[R] Add vectors of unequal length without recycling?

2017-12-12 Thread Maingo via R-help
ectors without recycling? Right now the recycling feature bugs me a lot. Sent with [ProtonMail](https://protonmail.com) Secure Email. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https:

[R] chi-square distribution table

2017-12-18 Thread HATMZAHARNA via R-help
Please could you tell me how to make code to outpot chi-square distribution table? Please help __ 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

[R] chi-square distribution table

2017-12-18 Thread HATMZAHARNA via R-help
Please could you tell me how to make code to outpot chi-square distribution table? Please help __ 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

[R] chi-square distribution table

2017-12-18 Thread HATMZAHARNA via R-help
Please could you tell me how to make code to make chi-square distribution table? Please help __ 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

[R] why the length and width of a plot region produced by the dev.new() function cannot be correctly set?

2018-05-03 Thread sunyeping via R-help
r that the values I set.What do I miss? What is the correct way of setting the dimension of the new plot region? I will be grateful to any help.Best regards, [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIB

Re: [R] why the length and width of a plot region produced by the dev.new() function cannot be correctly set?

2018-05-04 Thread sunyeping via R-help
:28 PM, sunyeping via R-help  wrote: >  > When I check the size of the plot region usingdev.size("in")a new plot region  >is produced and in the Rconsole I get[1] 5.33 5.322917 Your test is all mangleed together. You failed in your duty to read the list  info and the Posting 

Re: [R] why the length and width of a plot region produced by the dev.new() function cannot be correctly set?

2018-05-05 Thread sunyeping via R-help
ced by  > the dev.new() function cannot be correctly set? >  > On 04/05/2018 3:04 AM, sunyeping via R-help wrote: >  > >  >  >--From:David  >Winsemius Send Time:2018 May 4 (Fri) 13:25To:孙业平  >Cc:R Help Mailing

[R] mzR fails to install/compile (linuxes)

2018-06-15 Thread lejeczek via R-help
Would anybody be able to confirm this problem exists? Many thanks, L. __ 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 code.

[R] rgdal in 3.5 fails(?)

2018-06-15 Thread lejeczek via R-help
ge's problem in new 3.5 version? Many thanks, L. __ 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 pro

Re: [R] mzR fails to install/compile (linuxes)

2018-06-18 Thread lejeczek via R-help
l or most directly by opening an issue on the maintainer's github   https://github.com/sneumann/mzR/issues/ this is linked to from the package 'landing page'   https://bioconductor.org/packages/mzR Martin Morgan On 06/15/2018 10:49 AM, lejeczek via R-help wrote: hi guys, just an

Re: [R] R examples in Agronomy

2018-06-28 Thread mikorym via R-help
rting point any paper by Patrice Cadet. Or, if you have specific questions, you are welcome to ask me. Best regards Phillip Phillip-Jan van Zyl MSc (Category Theory) ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz

[R] R maintains old values

2018-07-02 Thread Morkus via R-help
ternative HTML version deleted]] ______ 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 code.

[R] how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-11 Thread dncdd via R-help
p.png   [2]: https://i.stack.imgur.com/MEnFn.png   [3]: https://i.stack.imgur.com/Ri29w.png   [4]: https://i.stack.imgur.com/CdCqL.jpg   [5]: https://i.stack.imgur.com/Pt1Nw.jpg [[alternative HTML version deleted]] ______ R-help@r-project.org

[R] 回复: how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-11 Thread dncdd via R-help
ight need a 3d filled.contour. But I did not find it. All the code I found is that x,y,z and z is a function of x,y. Another situation I found is that x,y,z,v and v is function of x,y,z. But in my data, v is not a function of x,y,z. --发件人:I

[R] 回复: how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-13 Thread dncdd via R-help
This can be a solution. Thank you. Thanks for your time. --发件人:Ismail SEZEN 发送时间:2017年4月13日(星期四) 10:05收件人:dncdd 抄 送:r-help 主 题:Re: [R] how to plot three dimension data to filled contour plot or surface plot in R Ask Question On

[R] 回复: 回复: how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-13 Thread dncdd via R-help
ut = k) rgl::plot3d(z, y, x, type = "n", aspect = TRUE) # create scene# I am using the array here. misc3d::contour3d(myarray, lev, z, y, x, color = colf(k), alpha = alpha, smooth  = 3, engine = "rgl", add = TRUE)  rgl::aspect3d(2, 1, 1)  It works.Thank you. ---

[R] rollapply() produces NAs

2017-05-27 Thread Sepp via R-help
alternative HTML version deleted]] ______ 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 code.

Re: [R] rollapply() produces NAs

2017-05-28 Thread Sepp via R-help
)), FUN = VaRfun), On Sat, May 27, 2017 at 5:29 PM, Sepp via R-help wrote: > Hello, > I am fairly new to R and trying to calculate value at risk with exponentially > decreasing weights.My function works for a single vector of returns but does > not work with rollapply(), which is wh

Re: [R] rollapply() produces NAs

2017-05-28 Thread Sepp via R-help
of NAs and I don't know why. ______ 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, s

[R] 3D plot with coordinates

2017-06-20 Thread Alaios via R-help
look at R cran? The ideal will be that after plotting I will be able to rotate the shape. I would like to thank you in advance for your helpRegardsAlex [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE

Re: [R] 3D plot with coordinates

2017-06-21 Thread Alaios via R-help
Tuesday, June 20, 2017 9:49 PM, Uwe Ligges wrote: package rgl. Best, Uwe Ligges On 20.06.2017 21:29, Alaios via R-help wrote: > HelloI have three x,y,z vectors (lets say each is set as  rnorm(360)). So > each one is having 360 elements each one correpsonding to angular coordinates >

Re: [R] 3D plot with coordinates

2017-06-21 Thread Alaios via R-help
for the reply to allAlex On Wednesday, June 21, 2017 1:07 PM, Duncan Murdoch wrote: On 21/06/2017 5:23 AM, Alaios via R-help wrote: > Thanks a lot for the reply.After  looking at different parts of the code > today I was able to start with simple 2D polar plots as the attach

Re: [R] 3D plot with coordinates

2017-06-22 Thread Alaios via R-help
Thanks. So after searching 4 hours last night it looks like that there is no R package that can do this right now. Any other ideas or suggestions might be helpful.RegardsAlex On Wednesday, June 21, 2017 3:21 PM, Alaios via R-help wrote: Thanks Duncan for the replyI can not suppress

[R] Writing my 3D plot function

2017-06-25 Thread Alaios via R-help
ax),box=TRUE,axe=TRUE,add=FALSE,col="blue",type="l") Would it be also possible to include an jpeg image file on a rgls plot? Thanks a lotRegardsAlex [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list --

Re: [R] Writing my 3D plot function

2017-06-26 Thread Alaios via R-help
wiki.openstack.org/wiki/MailingListEtiquette -- Sent from my phone. Please excuse my brevity. On June 25, 2017 2:42:26 PM EDT, Alaios via R-help wrote: >Hi all,I had a question last week on asking for a function that will >help me draw three different circles on x,y,z axis based on polar &

[R] scalable and dynamic color bar

2017-07-08 Thread Alaios via R-help
[[alternative HTML version deleted]] __ 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

[R] add a color bar

2017-07-10 Thread Alaios via R-help
rought and gets pixelized each time I maximize the window. Any suggestions?I would like to thank you for your replyRegardsAlex [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

[R] R: How to multiplying y-axis ticks value by 100?

2017-07-22 Thread iPad via R-help
ternative HTML version deleted]] ______ 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 code.

Re: [R] R: How to multiplying y-axis ticks value by 100?

2017-07-24 Thread Ted via R-help
Many thanks, Jim!!! >Jim Lemon < drjimle...@gmail.com >: >Have a look at axis.mult in the plotrix package. >Jim ---- >>iPad via R-help < r-help@r-project.org > wrote: >> How to multiplying y-axis ticks value by 100 (without put the % symbol next >> t

[R] How export data set (available in the package) from R?

2017-07-29 Thread Ted via R-help
"Data set flchain available in the survival  package".  How can I get it (from R)  as Excel file? Thanks! [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.

[R] switch of cex adjustment with mfrow?

2017-08-02 Thread Jannis via R-help
]] __ 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 code.

Re: [R] switch of cex adjustment with mfrow?

2017-08-04 Thread Jannis via R-help
you might want to use separate calls anyway. Steve Ellison *** This email and any attachments are confidential. Any use...{{dropped:12}} __ R-help@r-project.org mailing list -- To UN

[R] Dispersion Index in POT

2017-08-11 Thread FMH via R-help
[[alternative HTML version deleted]] __ 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

[R] Choosing subset of data

2016-05-20 Thread oslo via R-help
rs925098 LCORL rs1662837 chr4  82168889 t c 0.2728 -0.0411 0.0105 8.66E-05 rs925098  no_value rs10071837 chr5  33381581 t c 0.424 -0.0324 0.0094 5.74E-04 rs925098  no_value [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] Inverse normal transformation of ranked data

2016-05-20 Thread data_analyst20bhrl--- via R-help
s.  Is there a better way? Sent from Yahoo Mail. Get the app [[alternative HTML version deleted]] ______ 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

[R] An averaged model based on Quartile and Mean of Quartiles

2016-05-21 Thread ch.elahe via R-help
variable. Does anyone know how to that? Thanks for any help! Elahe ______ 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.h

[R] Choosing rows

2016-05-21 Thread oslo via R-help
  | [[alternative HTML version deleted]] __ 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

Re: [R] Choosing rows

2016-05-23 Thread oslo via R-help
quot;, "rs12307687", "rs12307687", "rs10071837", "rs10071837", "rs10071837", "rs925098", "rs925098", "rs925098")), .Names = c("rs", "n0", "Pvalue", "V1"), row.names = c(NA, -15L), class

[R] Factor Variable frequency

2016-05-24 Thread ch.elahe via R-help
l when Speed is "SLOW"? Thanks for any help! Elahe __ 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 code.

[R] subset data right

2016-05-26 Thread ch.elahe via R-help
ubsets right? Thanks for any help! Elahe ______ 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 code.

[R] add value to Bar chart ggplot2

2016-05-27 Thread ch.elahe via R-help
Hi all , I have the following bar chart and I want to add SLC variable values to the charts but I don't know how to use geom_text: ggplot(df,(Protocol,fill=quant))+geom_bar()+coord_flip() Thanks for any help! Elahe ______ R-help@r-projec

Re: [R] add value to Bar chart ggplot2

2016-05-27 Thread ch.elahe via R-help
://stackoverflow.com/questions/6455088/how-to-put-labels-over-geom-bar-in-r-with-ggplot2 or this: http://stackoverflow.com/questions/12018499/how-to-put-labels-over-geom-bar-for-each-bar-in-r-with-ggplot2 Best, Ulrik On Fri, 27 May 2016 at 15:12 ch.elahe via R-help wrote: >Hi all , >I ha

[R] Creating R file

2016-05-28 Thread jay28 via R-help
to 40. Thanks to all who reply. jay28. Sent from Yahoo Mail. Get the app [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] Training set in Self organizing Map

2016-06-01 Thread ch.elahe via R-help
s.matrix(scale(subdf)) error in colMeans(x,na.rm=TRUE):'x' must be numeric Can anyone help me to solve that? Thanks for any help Elahe ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-h

Re: [R] Training set in Self organizing Map

2016-06-05 Thread ch.elahe via R-help
t to scale character or factor data? Could you perhaps exclude some of the columns that don't belong in the scaled data? -- Sent from my phone. Please excuse my brevity. On June 1, 2016 7:39:30 AM PDT, "ch.elahe via R-help" wrote: Hi all, >I want to use Self Organizing Map in R f

  1   2   3   4   5   6   7   8   9   10   >