Re: [R] Matrix Manipulation R

2015-07-04 Thread David Winsemius
is poor form. Do read the posting guide. > > __ > 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.htm

Re: [R] multiple graphs with a single legend and trellis graph

2015-07-07 Thread David Winsemius
;, "Regression Calibration", "Pseudo > Likelihood"), bty = "n",col=c(4,2,3),lty=c(4,2,3)) > > plot(mse.alpha2$lambda[mse.alpha2$nsample==1000], > mse.alpha2$mse.naive[mse.alpha2$nsample== 1000], > xlab=expression(paste(lambda)),ylab="MSE",type=&q

Re: [R] Maxent Jarfile

2015-07-09 Thread David Winsemius
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] Embed fonts in an R graph

2015-07-10 Thread David Winsemius
s" is substituted by "AdobePiStd". > > Any help is greatly appreciated. > > Edwin > > <http://r.789695.n4.nabble.com/file/n4709707/Capture.png> > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Embed-fon

Re: [R] Embed fonts in an R graph

2015-07-10 Thread David Winsemius
On Jul 10, 2015, at 8:45 AM, David Winsemius wrote: > > On Jul 10, 2015, at 7:40 AM, Edwin Sun wrote: > >> Hello all, >> >> I cannot embed a common font type into an R graph. I did it successfully in >> December 2014 with the previous R version. However,

Re: [R] Trellis Plots: translating lattice xyplot() to ggplot()

2015-07-10 Thread David Winsemius
-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. David Winsemius Alameda, CA, USA _

Re: [R] Do grep() and strsplit() use different regex engines?

2015-07-11 Thread David Winsemius
_]) The word-"word" appears nowhere else on that page. >> strsplit("red green","\\W") > [[1]] > [1] "red" "green" `\W` matches the byte-width non-word characters. So the " "-character would be discarded. > &g

Re: [R] Do grep() and strsplit() use different regex engines?

2015-07-11 Thread David Winsemius
On Jul 11, 2015, at 11:05 AM, David Winsemius wrote: > > On Jul 11, 2015, at 7:47 AM, Bert Gunter wrote: > >> I noticed the following: >> >>> strsplit("red green","\\b") >> [[1]] >> [1] "r" "e" "d"

Re: [R] Do grep() and strsplit() use different regex engines?

2015-07-11 Thread David Winsemius
is a test case") [1] " T h i s i s a t e s t c a s e " -- David. > > Bert Gunter > > "Data is not information. Information is not knowledge. And knowledge > is certainly not wisdom." > -- Clifford Stoll > > > On Sat, Jul 1

Re: [R] change font size within the panel.text function (package lattice)

2015-07-11 Thread David Winsemius
tat.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. David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing

Re: [R] Knitr/Lattice/Lyx [was: Trellis Plots: translating lattice xyplot() to ggplot()]

2015-07-11 Thread David Winsemius
> 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. David Winsemius Alameda, CA, USA __ R-help@r-pr

Re: [R] Knitr/Lattice/Lyx [was: Trellis Plots: translating lattice xyplot() to ggplot()]

2015-07-11 Thread David Winsemius
On Jul 11, 2015, at 5:47 PM, David Winsemius wrote: > > On Jul 11, 2015, at 5:30 PM, Rich Shepard wrote: > >> On Sat, 11 Jul 2015, Rich Shepard wrote: >> >>> The .RData and .lyx files were stripped off. I'll try sending them again. >> >> .RDat

Re: [R] Putting Zero in table using R

2015-07-12 Thread David Winsemius
- 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. David Winsemius Alameda, CA, USA ___

Re: [R] an error in nlme package

2015-07-13 Thread David Winsemius
7;s. Most of the na.* options are actually functions that process the data and can be found with ?na.omit. I could certainly be uninformed about some new wonderful workaround to the problem, but at the moment I'm guessing you were hoping for a magical effect from na.include that does

Re: [R] an error in nlme package

2015-07-13 Thread David Winsemius
in HTML. >>> >>> Second, you should put the argument in quotes: >>> >>> na.action="na.include" >>> >>> >>> Sarah > > __ > R-help@r-project.org mailing list -- To

Re: [R] Troubleshooting DCchoice for dichotomous choice CV data

2015-07-14 Thread David Winsemius
[[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/pos

Re: [R] sum some columns for each row

2015-07-14 Thread David Winsemius
; Hi Dawn, >>>>>>> Your data are a bit messed up, but try the following: >>>>>>> >>>>>>> colSums(dat[,grep("ABC",names(dat),fixed=TRUE)],na.rm=TRUE) >>>>>>> colSums(dat[,grep("XYZ",names(dat),fixed=TRU

Re: [R] Assigning fate percent to plots

2015-07-15 Thread David Winsemius
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Weighted skewness and curtosis

2015-07-16 Thread David Winsemius
On Jul 16, 2015, at 8:10 AM, Dimitri Liakhovitski wrote: > Is there an R package that allows one to calculate skewness and > curtosis - but weighted with individual level weights (one weight per > observation)? > Integer weights? -- David Winsemius Alam

Re: [R] Weighted skewness and curtosis

2015-07-16 Thread David Winsemius
he package:lmomco deserves your attention. > > On Thu, Jul 16, 2015 at 11:27 AM, David Winsemius > wrote: >> >> On Jul 16, 2015, at 8:10 AM, Dimitri Liakhovitski wrote: >> >>> Is there an R package that allows one to calculate skewness and >>> curtosis

Re: [R] "grid"Package not available in r

2015-07-17 Thread David Winsemius
>* > > [[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 pos

Re: [R] Nagelkerke Pseudo R-squared

2015-07-17 Thread David Winsemius
;homme", "femme", "femme", "femme", "homme", "homme", "homme", > "femme", "femme") > m <- polr(a ~ b, Hess=TRUE) > summary(m) > > ______ &g

Re: [R] Value passing in print option

2015-07-20 Thread David Winsemius
f y is 20" > > [[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 &

Re: [R] change text size on a graphics

2015-07-20 Thread David Winsemius
guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/

Re: [R] SPOT install error

2015-07-21 Thread David Winsemius
rces/library/Spot’ > Warning in install.packages : > installation of package > ‘/Users/wmorgan/Downloads/Spot_3.2_x86_64.tar.gz’ had non-zero exit status > > (I also tried type = “mac.binary” or “mac.binary.maverick”, but this only > produced an error message th

Re: [R] How to make a persistence landscape in R?

2015-07-21 Thread David Winsemius
: http://www.R-project.org/posting-guide.html > -- David Winsemius Alameda, CA, USA __ 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/

Re: [R] model non-integer count outcomes

2015-07-21 Thread David Winsemius
makes sense to use Poisson or NB regression > to model these non-integer outcomes. There is a quasi-binomial error model that accepts non-integer outcomes. -- David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To UNSUBSC

Re: [R] Error in "rownames"

2015-07-22 Thread David Winsemius
rocess makes any sense (noting that the order of a dataframe factor variable might not be the same as the level-names), then my guess is that you failed to include the dataframe name where the factor vector resides. > -- David Winsemius Alameda, CA, USA

Re: [R] R version update

2015-07-24 Thread David Winsemius
t; Best regards,Markus Hofstetter > > > [[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/postin

Re: [R] Infinite Series

2015-07-24 Thread David Winsemius
gt;>>> >>>>> Janh >>>>> >>>>> [[alternative HTML version deleted]] >>>>> >>>>> ______ >>>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] Judging if a matrix contains any NA

2015-07-26 Thread David Winsemius
ailman/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. David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To U

Re: [R] Daily Category Revenue-Stacked Bar Chart in ggplot2

2015-07-29 Thread David Winsemius
0431p4710549.html > 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. -- David Winsemius Alameda,

Re: [R] dplyr help

2015-07-29 Thread David Winsemius
6 male > 3 Marytea8 female > 4 Mary water 12 female Doesn't this (glaringly obvious?) approach succeed? > aggregate(cost ~ name + drink+sex, data = bevs, sum) name drinksex cost 1 Marytea female8 2 Mary water female 12 3 Bill cocoa male 10 4 Bi

Re: [R] Using latticeExtra as.layer function with different number of plot panels

2015-07-30 Thread David Winsemius
illustrate what happens > when as.layer is used for plotting data with inconsistent dimensions. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the

Re: [R] Clarification on Simulation and Iteration

2015-07-31 Thread David Winsemius
ed data for > analysis > data1 > > > } > OK. The code runs without error. So what exactly is the problem? (I have no experience with the Copas selection model if in fact that is what is being exemplified.) -- David Winsemius Alameda, CA, USA __

Re: [R] Clarification on Simulation and Iteration

2015-07-31 Thread David Winsemius
est. > > Chris Guure > > > > On Saturday, August 1, 2015 3:32 AM, David Winsemius > wrote: > > > On Jul 31, 2015, at 6:36 PM, Christopher Kelvin via R-help wrote: > >> Dear All, >> I am performing some simulations for a new model. I run about 10,

Re: [R] scaling variables consecutively and independently

2015-08-03 Thread David Winsemius
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailma

Re: [R] scaling variables consecutively and independently

2015-08-03 Thread David Winsemius
- 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. -- David Winsemius Alameda, CA, USA ___

Re: [R] Households per Census block

2015-08-04 Thread David Winsemius
gt; get a table with one-record-per-census-block in every state. >>> >>> https://github.com/davidbrae/swmap/blob/master/how%20to%20map%20the%20consumer%20expenditure%20survey.R#L104 >>> >>> (1) line 134 change the very last -9 to 9 >>> (2) line 1

Re: [R] testing whether two character vectors contain (the same) items in the same order

2015-08-07 Thread David Winsemius
x 65 (Biocenter 3, Viikinkaari 1) >>> FIN-00014 University of Helsinki >>> Finland >>> >>> federico.calb...@helsinki.fi >>> >>> __ >>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] Piecewise (segmented) linear regression with center section slope constraint

2015-08-07 Thread David Winsemius
> 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. David Winsemius Alam

Re: [R] Error with predict and newdata

2015-08-07 Thread David Winsemius
t) I have in this dataset. > > Sorry again for my messy code! > > Thank you very much, > > Kira > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE

Re: [R] Error in rep in matrix - Windows 8- R 3.2.1

2015-08-08 Thread David Winsemius
[[alternative HTML version deleted]] And do read the Posting guide. > > __ > 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

Re: [R] result NA , but expected True or False

2015-08-09 Thread David Winsemius
__ > 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. David Winsemius Alameda,

Re: [R] R map data for South Africa

2015-08-14 Thread David Winsemius
mented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA __ 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/p

Re: [R] cut variable within a loop

2015-08-14 Thread David Winsemius
On Aug 14, 2015, at 6:40 AM, Janka Vanschoenwinkel wrote: > Hi Petr, > > Here the code below: > > load("data.Rda") # or see data at the bottom of this email > > ## > > ### Question cut2 intervals #

Re: [R] Error -> cannot open file 'specdata/001.csv': No such file or directory; Windows 8, R Version 3.2.1

2015-08-15 Thread David Winsemius
shall I do? > I am using the 3.2.1 version of R on a Windows 8 laptop. > > Regards, > Nikita Dinger > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se

[R] Is there "orphan code" in seq.default?

2015-08-15 Thread David Winsemius
ength.out - 2L) * by, to)) Notice that the last call to `else` would be returning a value calculated with 'by' which was already established as missing. -- David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To U

Re: [R] cut variable within a loop

2015-08-16 Thread David Winsemius
of "cutting" a sample based on a number > supplied. Yet, when I tell him this number is "i", then it doesn't work. If > instead I write that the number is 10, then it does work and it gives me 2 > subsets from 0-10 and from 10-100. > > Hope this is more

Re: [R] help with binom.power

2015-08-17 Thread David Winsemius
er fit with the on-topic criteria for CV, since it appears the problem is at the very least a lack of understanding of the principles of power analysis rather than primarily a coding difficulty. You might mention that you hoped to use a function by the name of `binom.power` in some non-base packa

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
etical grounds. > (for my data, the > time already passed should be an important variable). > > Any other suggestions or comments? > > Thank you! > R-help at r-project.org The real Rhelp mailing list not the impostor Rhelp at Nabble -- To UNSUBSCRIBE and more, s

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
is not knowledge. And knowledge > is certainly not wisdom." > -- Clifford Stoll > > > On Mon, Aug 17, 2015 at 1:51 PM, David Winsemius > wrote: >> >> On Aug 17, 2015, at 12:10 PM, survivalUser wrote: >> >>> Dear All, >>>

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
On Aug 17, 2015, at 1:51 PM, David Winsemius wrote: > > On Aug 17, 2015, at 12:10 PM, survivalUser wrote: > >> Dear All, >> >> I would like to build a model, based on survival analysis on some data, that >> is able to predict the /*expected time until d

Re: [R] Survival Analysis and Predict time-to-death

2015-08-17 Thread David Winsemius
; David. > > I would certainly agree that the OP seems pretty confused about all > this. And apologies if I have misunderstood. > > Cheers, > Bert > > > Bert Gunter > > "Data is not information. Information is not knowledge. And knowledge > is certa

Re: [R] if else for cumulative sum error

2014-12-02 Thread David Winsemius
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. David Winsemius Alameda, CA

Re: [R] if else for cumulative sum error

2014-12-02 Thread David Winsemius
tps://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] Problem with

2014-12-03 Thread David Winsemius
p > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see http

Re: [R] Getting the most recent dates in a new column from dates in four columns using the dplyr package (mutate verb)

2014-12-03 Thread David Winsemius
> hereby notified that any retention, dissemination, distribution or copying of > this communication is strictly prohibited. Please reply to the sender that > you have received this message in error, then delete it. > > __ > R-help@r-p

Re: [R] Getting the most recent dates in a new column from dates in four columns using the dplyr package (mutate verb)

2014-12-04 Thread David Winsemius
gt;> >> data3 >> idmrjdatecocdateinhdatehaldateoidflag >> 1 1 2004-11-04 2008-07-18 2005-07-07 2007-11-07 2008-07-18 >> 2 2 >> 3 3 2009-10-242011-10-132011-10-13 >> 4 4 2007-10-10

Re: [R] I am trying to use assign and paste to assign value to existing variable

2014-12-05 Thread David Winsemius
terms / > Hierdie terme bepaal die integriteit en vertroulikheid van hierdie epos. > http://www.sun.ac.za/emaildisclaimer > > The integrity and confidentiality of this email is governed by these terms / > Hierdie terme bepaal die integriteit en vertroulikheid van hierdie epos

Re: [R] Plot gamma distribution with relative frequency histogram

2014-12-05 Thread David Winsemius
ssion by 25. > sum(h$counts) #before the standardization [1] 25 > Thank you in advanced. > > Dila > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-hel

Re: [R] Put 2 ablines in an "empty plot"

2014-12-05 Thread David Winsemius
eleted]] Please read what the posting guide says about html posting. > > __ > 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 co

Re: [R] Factors and NaN

2014-12-05 Thread David Winsemius
__ > 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. David Win

Re: [R] Deducer future?

2014-12-05 Thread David Winsemius
and > more efficient to simply write out the commands than to submit using the GUI > interface, and the GUI would inform them what they could write (and modify). > I came to Deducer after looking at a lot of other related software. You appear unfamiliar with the maintainer function: >

Re: [R] Deducer future?

2014-12-05 Thread David Winsemius
NSUBSCRIBE 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. David Winsemius Alameda, CA, USA __

Re: [R] bad STATA dataset import, how to change value labels

2014-12-06 Thread David Winsemius
//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. David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing

Re: [R] bad STATA dataset import, how to change value labels

2014-12-07 Thread David Winsemius
name of your dataframe for the token `dfrm`. head(yourDataObject[, "yourVariableNameInQuotes"]) -- David. > > > 2014-12-07 3:14 GMT+01:00 David Winsemius : > > On Dec 6, 2014, at 3:54 PM, Edoardo Prestianni wrote: > > > hello, > > > > I have impo

Re: [R] make matrices as many as possible with a constraint

2014-12-11 Thread David Winsemius
. > > Best, > > Kathryn Lord > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEAS

Re: [R] Is there a plotmath symbol \mapsto?

2014-12-12 Thread David Winsemius
d 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. David Winsemius Alameda, CA, USA __ R-he

Re: [R] R-intro question

2014-12-12 Thread David Winsemius
ASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https:

Re: [R] Getting a Error: unexpected symbol in:

2014-12-12 Thread David Winsemius
ative HTML version deleted]] Read the Posting Guide regarding teh desired format of posts. > __ > 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.

Re: [R] extract objects from R output

2014-12-14 Thread David Winsemius
Gene1 & !Gene2) > Gene4 = (!Gene4 & !Gene2 & !Gene1) | (!Gene4 & !Gene2 & Gene1) | (!Gene4 & > Gene2 & Gene1) | (Gene4 & !Gene2 & !Gene1) | (Gene4 & Gene2 & Gene1) > Gene5 = (!Gene2 & !Gene4 & !Gene5) | (!Gene2 & !Gene4 & Gene5)

Re: [R] circlize package: different font size for axis labels

2014-12-15 Thread David Winsemius
BE 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. David Winsemius Alameda, CA, USA ___

Re: [R] Calculating mean, median, minimum, and maximum

2014-12-21 Thread David Winsemius
ind out more! >> >> __ >> 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 >>

Re: [R] debugging R code and dealing with dependencies

2014-12-25 Thread David Winsemius
> On Dec 25, 2014, at 1:04 AM, Mike Miller wrote: > > I just wanted to put this out there. It's just some of my observations about > things that happen with R, or happened in this particular investigation. > There were definitely some lessons for me in this, and maybe that will be > true of

Re: [R] ggmap (or ggplot2 with mapping question)

2014-12-26 Thread David Winsemius
> On Dec 26, 2014, at 3:26 PM, Roy Mendelssohn - NOAA Federal > wrote: > > HI All: > > Okay I am feeling particular brain dead today. i have the following map > created so far using ggmap: > >> library(ggmap) >> myLocation <- c(-178, -28, -72, 48) >> myMap <- get_map(location=myLocation, so

Re: [R] ggmap (or ggplot2 with mapping question)

2014-12-26 Thread David Winsemius
D" "#3B4A38" "#424C3D" "#3B4A38" "#2E3C2E" "#243223" [78,] "#424C3D" "#3B4A38" "#3B4A38" "#384435" "#324432" "#2E3C2E" [ reached getOption("max.print") -- omitted 1202 rows

Re: [R] simplify code for dummy coding of factors

2014-12-30 Thread David Winsemius
> Professor, Psychology Dept. & Chair, Quantitative Methods > York University Voice: 416 736-2100 x66249 Fax: 416 736-5814 > 4700 Keele StreetWeb:http://www.datavis.ca > Toronto, ONT M3J 1P3 CANADA > > __ > R-help@r-project.org mailing list -

Re: [R] rounding down with as.integer

2014-12-31 Thread David Winsemius
___ > 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

Re: [R] Can not save files

2014-12-31 Thread David Winsemius
mission > denied' > > >> sessionInfo() > R version 3.1.0 (2014-04-10) > Platform: i386-w64-mingw32/i386 (32-bit) > >> library(rstudio) >> versionInfo() > $version > [1] ‘0.98.953’ > > $mode > [1] "desktop&

Re: [R] rounding down with as.integer

2014-12-31 Thread David Winsemius
Read the message at the bottom of every message from rhelp. -- David. On Dec 31, 2014, at 8:09 PM, Zaid Bhatti wrote: > How can I unsubscribe to not receive loop e mails? > > Sent from my Huawei Mobile > > David Winsemius wrote: > > > On Dec 31, 2014, at 3:

Re: [R] rle with data.table - is it possible?

2015-01-01 Thread David Winsemius
> On Jan 1, 2015, at 5:07 PM, Kate Ignatius wrote: > > Apologies - mix up of syntax all over the place, a habit of mine. The > last line was in there because of code beforehand so it really doesn't > need to be there. Here is the proper code I hope: > > childseg<-0 > x<-sumchild ==0 > span<-r

Re: [R] remove outlier

2015-01-02 Thread David Winsemius
d]] > This is a plain text mailing list. Please read the Posting Guide more thoroughly. -- David. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE

Re: [R] rle with data.table - is it possible?

2015-01-02 Thread David Winsemius
have already been told that your earlier efforts using `rle` did not make any sense. Post a complete example and then explain what you desire as an object. It's often helpful to provide a scientific background for what the data represents. -- David. > > > On Fri, J

Re: [R] Fitting a Tweedie distribution

2015-01-02 Thread David Winsemius
ci: num [1:2(1d)] 1.37 1.62 $ method: chr "inversion" $ phi.method: chr "mle" Seems to estimate both the power and dispersion parameters reasonably well. > > [[alternative HTML version deleted]] This is a plain-text mailing list. -- David Winsemius A

Re: [R] Fitting a Tweedie distribution

2015-01-02 Thread David Winsemius
iced the tweedie.profile function. (Your implementation via a transformation effectively sidestepped that possibility.) And then I kicked myself for not reading the documentation more thoroughly. Comparing the two methods: > exp( m@coef ) logpowerlogmu logphi 1.516015 1.935660 2.0

Re: [R] Export chaid decision tree rules

2015-01-03 Thread David Winsemius
ost in plain text rather than HTML.) -- David Winsemius Alameda, CA, USA __ 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/posti

Re: [R] Probability distribution of fitted gaussian distribution.

2015-01-03 Thread David Winsemius
se of the `qnorm` function? > > Reference > > http://cran.r-project.org/web/packages/fitdistrplus/fitdistrplus.pdf ~ > Page 15 > > > -- > *Jacob Varughese* > ______ > R-help@r-proj

Re: [R] Separating a Complicated String Vector

2015-01-03 Thread David Winsemius
;> >>> V1 V2 V3 >>> a1 1 A >>> a2 1 A >>> a3 1 A >>> a4 1 A >>> a5 1 A >>> b1 1 B >>> b2 1 B >>> b3 1 B >>> b4

Re: [R] What is the problem now?

2015-01-05 Thread David Winsemius
{ >>> dev.new() # Here, I tried windows() too but nothing changed >>>gecici<-subset(d.oran,variable==levels(d.oran$variable)[i]) >>> >>> >> plot(gecici$Tarih,gecici$value,main=levels(d.oran$variable)[i],type="l" >>> ,y

Re: [R] controlling the gamma and correlation axis tick label of taylor diagram in R

2015-01-05 Thread David Winsemius
s. > Thank you all in advance > > -- > DILEEPKUMAR. R > J R F, IIT DELHI > ______ David Winsemius Alameda, CA, USA __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/l

Re: [R] class of strptime() output

2015-01-05 Thread David Winsemius
ot; but failed to make any changes to the underlying objects. For instance you could have executed this code: as.POSIXct(a) Which would produce console output but have no effect on 'a'. > I am wondering why the class of a and b[1,1] are not the same. We are wondering as well. What

Re: [R] Overlapping Matrices By column correlation

2015-01-08 Thread David Winsemius
being conducted > Any suggestion? > Thanks > Karim > > [[alternative HTML version deleted]] This is a plain text mailing list. > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-con

Re: [R] Huge Dataset Dates Span two Lines

2015-01-08 Thread David Winsemius
p@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. -- David Winsemius Alameda, CA, USA

Re: [R] Reading large data matrix in R

2015-01-09 Thread David Winsemius
> 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, reproduci

Re: [R] Question about package "principal"

2015-01-11 Thread David Winsemius
___ > 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. David Wi

Re: [R] Bootstrap library(boot) "boot.ci" function

2015-01-17 Thread David Winsemius
; Thanks for your help. > Best, > SV > > [[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

Re: [R] correlation between categorical data

2015-01-24 Thread David Winsemius
pergeometric distribution over in to the land of reality your sample is > drawn from and you then have to justify that. > And this is off-topic on Rhelp . > > > -- > View this message in context: > http://r.789695.n4.nabble.com/correlation-between-categorical-data-tp888975p4702235.html > Sent from the R h

Re: [R] Percentage cover data with many zeros

2015-01-24 Thread David Winsemius
On Jan 24, 2015, at 8:37 AM, peter dalgaard wrote: > Don't worry, there are plenty of halfwits around here. However, this is about > stats theory, and not really about R, so you're better off trying > CrossValidated, aka stats.stackexchange.com This is useful and correct advice, but if you wa

Re: [R] extracting significance test for individual lm() parameters after using by

2015-01-25 Thread David Winsemius
om an expert on how to approach this subject, and >> this list is not a good place for studying statistics theory (read the >> Posting Guide). You might try stats.stackexchange. com. >> -------

<    2   3   4   5   6   7   8   9   10   11   >