Re: [R] Help/information required

2017-09-18 Thread David Winsemius
.org/search/?q=list%3Aorg.r-project.r-help+memory+limitations+windows -- David. > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mail

Re: [R] help matching rows of a data frame

2017-09-18 Thread David Winsemius
,2,1,1,3,1)) apply(x, 1, paste, collapse=".") [1] "A.1" "B.2" "C.1" "C.1" "D.3" "A.1" > The result does not have to be fast: the data set will have < 100 elements. > Since this is inside the survival package, and

Re: [R] Help understanding why glm and lrm.fit runs with my data, but lrm does not

2017-09-14 Thread David Winsemius
' in the Value section. -- David. > > Kind regards, > Laura > > Dr Laura Bonnett > NIHR Post-Doctoral Fellow > > Department of Biostatistics, > Waterhouse Building, Block F, > 1-5 Brownlow Street, > University of Liverpool, > Liverpool, > L69 3GL

Re: [R] Case statement in sqldf

2017-09-11 Thread David Winsemius
Peter Makananisa (0005786) > South African Revenue Service (SARS) > Specialist: Statistical Support > TCEI_OR (Head Office) > Tell: +272 422 7357, Cell: +2782 456 4669 > > Please Note: This email and its contents are subject to our email legal > notice which can be viewed at

Re: [R] list subselect by name ?

2017-09-09 Thread David Winsemius
quot; "L" "M" "N" "O" "P" "Q" "R" > "S" > [20] "T" "U" "V" "W" "X" "Y" "Z" > >> str( list(letters=letters, LETTERS=LETTERS)?

Re: [R] quote()/eval() question

2017-09-08 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 'Any technology distinguishable from magic is insuf

Re: [R] ISO3 code to 7 continents names

2017-09-08 Thread David Winsemius
> On Sep 7, 2017, at 12:56 PM, David Winsemius wrote: > > >> On Sep 7, 2017, at 12:21 PM, Miluji Sb wrote: >> >> df is a data frame consisting of one variable (iso3 codes) such as >> >> USA >> RUS >> ARG >> BGD >> ITA >>

Re: [R] ISO3 code to 7 continents names

2017-09-07 Thread David Winsemius
region [1] "Latin America and Caribbe" "South Asia""Europe" [4] "Europe" "Central and Eastern Europ" "North America" -- David. > > Sincerely, > > Milu > > On

Re: [R] ISO3 code to 7 continents names

2017-09-07 Thread David Winsemius
re, 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 'Any techno

Re: [R] Geom_smooth

2017-09-07 Thread David Winsemius
quot;) mean +/- 2* similarly localized standard error of the estimate. To find out what the base R version of loess does consult `?predict.loess` and to find out what `geom_smooth` does, you can try to find documentation on the `predictdf` fucntion, but the geom_smooth help pages warns you it

Re: [R] Interesting behavior of lm() with small, problematic data sets

2017-09-05 Thread David Winsemius
> On Sep 5, 2017, at 6:24 AM, Glover, Tim wrote: > > I've recently come across the following results reported from the lm() > function when applied to a particular type of admittedly difficult data. > When working with > small data sets (for instance 3 points) with the same response for diffe

Re: [R] correlation between nominal and ordinal

2017-09-03 Thread David Winsemius
> On Sep 2, 2017, at 3:41 AM, Jim Lemon wrote: > > hi merlin, > Check out the hetcor package. I found a hetcor function in the polycor package. Another method might be to use the lrm function in the rms package. It supports proportional odds ordinal logistic regression models. -- David.

Re: [R] Converting character to numeric using the package "XLConnect"

2017-08-30 Thread David Winsemius
ow can I convert the numbers which are stored as characters to numeric? Have you tried using the formatting features of Excel to change the default "auto" sttings of black columns? You could select an entire column and set its format to numeric. I know this sometimes fixes the annoyin

Re: [R] help with read.csv() for files with different number of columns

2017-08-29 Thread David Winsemius
c Foxc18Sox10 >>>>> Smarca2 9 1810019D21Rik%%% Asb8 >>>>> 10 1810037I17Rik%%%Zfp612 11 >>>>> 1810055G02Rik%%% >>>>> Nkx2-3 Maged1 Runx1Ugp212Elk4

Re: [R] Find maxima of a function

2017-08-26 Thread David Winsemius
") > x2 <- seq(1, max(x), 0.1) > y2 <- fun(x2) > plot(x, y, type = "l") > lines(x2, y2, col = "red") > > max.x <- optimize(fun, interval = range(x), maximum = TRUE) > print(max.x) # x coordinate of global maximum of y by spline and optimize > x[which(y == max(y))] # global maximum of dicrete x-y ve

Re: [R] Flummoxed by gsub().

2017-08-24 Thread David Winsemius
> On Aug 24, 2017, at 10:20 AM, David Winsemius wrote: > > >> On Aug 23, 2017, at 2:29 AM, Rolf Turner wrote: >> >> >> On 23/08/17 18:33, Stefan Evert wrote: >> >>>> On 23 Aug 2017, at 07:45, Rolf Turner wrote: >>>> >

Re: [R] Flummoxed by gsub().

2017-08-24 Thread David Winsemius
f Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > __ > 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

Re: [R] cross validation in random forest using rfcv functin

2017-08-24 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 Winsemi

Re: [R] strange nlme augpred behaviour

2017-08-24 Thread David Winsemius
shall not be liable for any possible damage caused > by modifications of the e-mail or by delay with transfer of the email. > > In case that this e-mail forms part of business dealings: > - the sender reserves the right to end negotiations about entering into a > contract in any time, f

Re: [R] Vibration signal prediction in R

2017-08-23 Thread David Winsemius
nks. > 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 'Any technology distinguishable from magic is

Re: [R] Pull data from Tally 9.1 to R studio

2017-08-23 Thread David Winsemius
lman/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 'Any technology distinguishable from magic is insufficiently advanced.' -Geh

Re: [R] bquote question

2017-08-18 Thread David Winsemius
> On Aug 18, 2017, at 7:27 AM, Andras Farkas via R-help > wrote: > > Dear All, > > could you please provide input on the following: > > plot(1:10,main=paste("\n ","\nABCD","\n","\n","\n > "),cex.main=1.3) > > a<-500 > b<-12 > mtext(bquote(bold(.(formatC(1.2*a,decimal.mark=",

Re: [R] Statistical / data mining methods in R and not in SAS?

2017-08-15 Thread David Winsemius
are-and-Matrix/TensorFlow-MNIST/td-p/318708 https://thomaswdinsmore.com/2017/04/05/sas-peddles-open-source-fud/ -- David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law _

Re: [R] tidyverse repeating error: "object 'rlang_mut_env_parent' not found"

2017-08-14 Thread David Winsemius
> On Aug 14, 2017, at 11:10 AM, David Winsemius wrote: > > >> On Aug 14, 2017, at 8:37 AM, Szumiloski, John >> wrote: >> >> Thanks for the feedback Jeff. Before I pursue a bug report, let me give a >> full example: >> >> ## begi

Re: [R] tidyverse repeating error: "object 'rlang_mut_env_parent' not found"

2017-08-14 Thread David Winsemius
stringi_1.1.5 > reshape2_1.4.2 > [26] hms_0.3 munsell_0.4.3grid_3.4.1 colorspace_1.3-2 > glue_1.1.1 > [31] lubridate_1.6.0 rlang_0.1.2 psych_1.7.5 lazyeval_0.2.0 > haven_1.1.0 > [36] modelr_0 > > # end console output >

Re: [R] weight in lm

2017-08-14 Thread David Winsemius
> On Aug 14, 2017, at 10:49 AM, David Winsemius wrote: > > >> On Aug 14, 2017, at 5:17 AM, peter dalgaard wrote: >> >> >>> On 14 Aug 2017, at 13:43 , Spencer Graves >>> wrote: >>> >>> >>> >>> On 2017-

Re: [R] weight in lm

2017-08-14 Thread David Winsemius
hology article by Holtxman(1950, v63, 615-617). http://amstat.tandfonline.com/doi/abs/10.1080/00031305.1968.10480435?src=recsys Searching on that article I see the first hit is a citation to some R documentation for hte MBESS::s.u function, which does implement it as recommended by Holtzman. If I were vo

Re: [R] PROC MIXED RANDOM equivalence in R nlme

2017-08-11 Thread David Winsemius
loop that produces no errors or >> warnings"??? >> >>> and never produces a result. Therefore, what is the equivalent code for the >>> SAS RANDOM? >>> >>> Thanks! >>> >>> ____

Re: [R] Directional Forecast

2017-08-11 Thread David Winsemius
BSCRIBE 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 'Any technology distinguishable from ma

Re: [R] Annotation Ticks on the axis

2017-08-11 Thread David Winsemius
thout stating any reasoning. >> - if the e-mail contains an offer, the recipient is entitled to >> immediately accept such offer; The sender of this e-mail (offer) excludes >> any acceptance of the offer on the part of the recipient containing any >> amendment or variat

Re: [R] Fill in empty spaces modified

2017-08-09 Thread David Winsemius
SCRIBE 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 'Any technology distinguishable f

Re: [R] generating cran package list matching R minor version

2017-08-09 Thread David Winsemius
roject.org/src/contrib/Archive # Package Archive > > In case addressing the R-help list is addressing wrong list, any pointer is > appreciated. > > Best regards, > > Christian Meesters > -- David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic

Re: [R] tidyquant error downloading symbols for Index

2017-08-06 Thread David Winsemius
> On Aug 6, 2017, at 5:10 PM, Sparks, John James wrote: > > Hi R Helpers, > > I recently tried to take advantage of the ability to download all the > tickers in the S&P 500 using the functionality of tidyquant, but it threw > an error. > > For summary, the set of commands that I ran was > > l

Re: [R] SPSS R Factor v2.4.2

2017-08-05 Thread David Winsemius
> On Aug 5, 2017, at 7:02 PM, Gavin Brown wrote: > > I am not an R-Head, hence I use nice utilities that integrate R into SPSS > I have SPSS v24, R3.20 and R3.40 > I have run IBM SPSS R Integration which requires linking to R3.20 > I have installed R Factor v2.4.2 > This package requires 'polyc

Re: [R] Strange behaviour to download zip file using R

2017-08-03 Thread David Winsemius
eir files against their terms of service: Item # 12 in their TOS: • You may not conduct any systematic or automated data collection activities (including scraping, data mining, data extraction and data harvesting) on or in relation to our website without our express written conse

Re: [R] Add Anova statistics in each figure

2017-07-30 Thread David Winsemius
PeriodBefore GroupTreatment:PeriodBefore -0.4174 2.4311 > > But I could not add the information of the interaction (F and its P values) > in each above figures. Would you mind to hep me. It will be highly > appreci

Re: [R] greek letters do not work in expression

2017-07-30 Thread David Winsemius
ot; letters to conform to local spellings. Does your ?plotmath page spell the first letter in the Greek alphabet as "alfa". > > Best, > Uwe Ligges > -- David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.'

Re: [R] Kalman filter for a time series

2017-07-30 Thread David Winsemius
d hire a consultant who can provide both code and sufficient documentation that you will be able to understand what is "under the hood". Best; David. > > > Hope this helps. > Spencer Graves >> >> library(KFAS) >> library(tseries) snipped &

Re: [R] Creating/Reading a complex string in R

2017-07-19 Thread David Winsemius
> On Jul 19, 2017, at 5:38 AM, Michael Friendly wrote: > > It was suggested to quote your string with *backticks* (` ... `) rather than > single quotes. > > String <- ` > > ... > ` That failed for me. The parser considered it a language object, an R name. Here's what I needed to do:

Re: [R] lme4 question

2017-07-18 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/p

Re: [R] label sunflower point

2017-07-16 Thread David Winsemius
ee > 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-

Re: [R] How to formulate quadratic function with interaction terms for the PLS fitting model?

2017-07-16 Thread David Winsemius
ree = 2, raw = TRUE)2 1.8282 Best; David. > > Cheers, > Bert > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom

Re: [R] How to formulate quadratic function with interaction terms for the PLS fitting model?

2017-07-16 Thread David Winsemius
ernative 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/po

Re: [R] select from data frame

2017-07-15 Thread David Winsemius
with( df, ave( as.character(samples), ID, FUN=function(x) {!any(x %in% c("B","C"))}))) ] ) #[1] 3 The same sort of logic could also be constructed with a for-loop: > for (x in unique(df$ID) ) { if ( !any( df$samples[df$ID==x] %in% c(

Re: [R] Quadratic function with interaction terms for the PLS fitting model?

2017-07-13 Thread David Winsemius
cts my lack of understanding of poly (which parallels my lack of understanding of PLS.) -- David. > > > -- Bert > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka B

Re: [R] Quadratic function with interaction terms for the PLS fitting model?

2017-07-13 Thread David Winsemius
; Thanks, > > Kelvin > > [[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 d

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread David Winsemius
T', I get exactly the same time of the webpage. > R date times are a bit weird. To me , anyway. Input is in UTC, but default output is in your locale. So I usually wrap format around a result if I want UTC. -- David > Sincerely yours, > > Cristina > > On Tue, 11 Jul 2

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread David Winsemius
; is the link to the website with the specification of >>> the >>> vessel. >>> >>> I appreciate any help. >>> >>> Cristina >>> >>> -- >>> Cristina Silva >>> Divisão de Modelação e Gestão de Recursos Pe

Re: [R] R loop function in Tableau

2017-07-07 Thread David Winsemius
t; 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, C

Re: [R] Scoring and Ranking Methods

2017-07-07 Thread David Winsemius
sis of the value of an indicator variable. > > Thank you. > Dhivya > > [[alternative HTML version deleted]] Please read the Posting Guide. Rhelp is a plain text mailing list. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://

Re: [R] R and UBUNTU startup

2017-07-04 Thread David Winsemius
Sent from my iPhone > On Jul 4, 2017, at 4:58 AM, PIKAL Petr wrote: > > Hi > >> -Original Message- >> From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] >> Sent: Tuesday, July 4, 2017 1:02 PM >> To: r-help@r-project.org; PIKAL Petr ; r-help > h...@r-project.org> >> Subject: Re: [R

Re: [R] R memory limits on table(x, y) (and bigtabulate)

2017-07-03 Thread David Winsemius
Yes. Table and matrix size limits are set by the max.integer size which is fixed at what can be represented with 4 bytes. David Sent from my iPhone > On Jul 3, 2017, at 8:04 AM, Bert Gunter wrote: > > Sorry, don't know enough to give you trustworthy answers, but I can > say that crashes due

Re: [R] Predict

2017-06-30 Thread David Winsemius
ears period and daily >>>> leafbiomass data during this period. I want to use the 25 plant height >>>> observations as inputs and predict the daily stand height during the 7 >>>> years. >>>> >>>> >>>> SH=matrix(data=NA , nrow = 2641, ncol = 1) >>>> for (i in 1:264

Re: [R] package to fit mixtures of student-t distributions

2017-06-30 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] Extraneous full stop in csv read

2017-06-28 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

Re: [R] Request for help - adding text files to a data frame

2017-06-25 Thread David Winsemius
tions/advice in this regard. > > Thanks for your help, > Bhaskar > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/ma

Re: [R] Comparing pooled proportions(complication and reoperation rates) of different treatment modalities

2017-06-23 Thread David Winsemius
roject.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] MODISTools help - with reproducible examples

2017-06-22 Thread David Winsemius
ve been using as well as my code (subsetted > to just one animal so the run time is faster) > > Has anyone seen this error message before/have any suggestions for why I may > be getting these errors? I don't and you have not provided the accepted means to investigate which would

Re: [R] Accessing Pointers

2017-06-22 Thread David Winsemius
gt; > __ > 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,

Re: [R] Question

2017-06-22 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, USA

Re: [R] Missing dependencies in pkg installs

2017-06-21 Thread David Winsemius
not available for package > 'htmlTable > * removing '/usr/lib64/R/library/htmlTable' > ERROR: dependency 'ggplot2' is not available for package 'viridis' > * removing '/usr/lib64/R/library/viridis' > ERROR: dependencies 'ggplot2'

Re: [R] Counting with multiple criteria using data table

2017-06-21 Thread David Winsemius
is plain-text. Do read the Posting Guide: Another possibility: Test[(Color=="green"&Grade=="A") |These are the conditions separated by logical OR's in the first argument to `[data.table` (Color=="red"&Grade=="F") | (Color=="

Re: [R] Help/ Mathematics

2017-06-21 Thread David Winsemius
ling 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] How to apply a system of ordinary differential equations to a cell grid?

2017-06-21 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

Re: [R] selecting dataframe columns based on substring of col name(s)

2017-06-21 Thread David Winsemius
the row selection select = Ozone:Solar.R) # and this selects columns # Ozone Solar.R 42 NA 259 43 NA 250 69 97 267 70 97 272 75 NA 291 102NA 222 12076 203 121 118 225 12284 237 12385 188 12496

Re: [R] R and Tableau Compatibility

2017-06-21 Thread David Winsemius
iling 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] by can not find transpose function

2017-06-20 Thread David Winsemius
VA Medical Center > 10 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > > [[alternative HTML version deleted]] > > _

Re: [R] R_using non linear regression with constraints

2017-06-18 Thread David Winsemius
a,b,r,t){ >>> prd=a*b*(1-exp(-b*r*t)) >>> return(prd)} >>> >>> # and using nlsLM >>> >>> myfit=nlsLM(y~myfun(a,b,r=2,t=x),data=mydata,start=list(a=2000,b=0.05), >>> lower = c(1000,0), upper = c(3000,1)) >>> su

Re: [R] R_using non linear regression with constraints

2017-06-18 Thread David Winsemius
"seeing the task as complete". Can you comment on the logical difficulties and solutions to surmounting such error after such an event occurs? Sincerely; David Winsemius > > JN > > # Here's the script # > # > # Manoranjan Muthusamy > # > > library(

Re: [R] R_using non linear regression with constraints

2017-06-18 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://ww

Re: [R] Prediction with two fixed-effects - large number of IDs

2017-06-17 Thread David Winsemius
gt; http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] (no subject)

2017-06-15 Thread David Winsemius
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] "reverse" quantile function

2017-06-15 Thread David Winsemius
ata frame? Can't you just used ecdf and quantile ecdf? # See ?ecdf page for both functions > lapply( lapply(z, ecdf), quantile, 0.33) $a 33% 4.475758 $b 33% 3.245151 $c 33% 2.003595 $d 33% 6.173204 -- David Winsemius Alameda, CA, USA _

Re: [R] glmmTMB

2017-06-15 Thread David Winsemius
e. > > __ > 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

Re: [R] draw stripes in a circle in R

2017-06-15 Thread David Winsemius
lain how you understand the code. -- David. > > > Thanks, best > > > Jean-Philippe > > On 14/06/2017 19:29, David Winsemius wrote: >>> On Jun 14, 2017, at 10:18 AM, David Winsemius >>> wrote: >>> >>> >>>> On Jun 14, 2017

Re: [R] [FORGED] Re: draw stripes in a circle in R

2017-06-14 Thread David Winsemius
; On June 14, 2017 3:27:15 PM PDT, David Winsemius > wrote: >> >>> On Jun 14, 2017, at 1:53 PM, Rolf Turner >> wrote: >>> >>> On 15/06/17 05:29, David Winsemius wrote: >>>>> On Jun 14, 2017, at 10:18 AM, David Winsemius >> wrote: &

Re: [R] [FORGED] Re: draw stripes in a circle in R

2017-06-14 Thread David Winsemius
> On Jun 14, 2017, at 1:53 PM, Rolf Turner wrote: > > On 15/06/17 05:29, David Winsemius wrote: >>> On Jun 14, 2017, at 10:18 AM, David Winsemius >>> wrote: >>> >>> >>>> On Jun 14, 2017, at 9:46 AM, Jeff Newmiller >>>>

Re: [R] draw stripes in a circle in R

2017-06-14 Thread David Winsemius
> On Jun 14, 2017, at 10:18 AM, David Winsemius wrote: > > >> On Jun 14, 2017, at 9:46 AM, Jeff Newmiller wrote: >> >> I don't see a question. If your question is whether R supports pattern >> fills, AFAIK it does not. If that is not your question,

Re: [R] draw stripes in a circle in R

2017-06-14 Thread David Winsemius
d = 5, border = "red") } The polygon function is _not_ in pkg::plotrix. >> It looks a bit ugly since they are not real data, but it is the >> simplest >> MWE example that I found. >> >> >> Thanks, best >>

Re: [R] [FORGED] IF LOOOP

2017-06-13 Thread David Winsemius
; > FAQ 7.31 After following Rolf's advice ... Try: r[ all.equal(r, 0.990956) ] > > cheers, > > Rolf Turner Further note to matthias: All caps in Subject is considered poor form, as is posting in HTML. -- David Winsemius Alameda, CA, USA ___

Re: [R] replacement has *** rows, data has ***

2017-06-12 Thread David Winsemius
SUBSCRIBE 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] efetch result not in character format

2017-06-09 Thread David Winsemius
y by 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] Adding zeros in each dimension of an array

2017-06-07 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] integrating 2 lists and a data frame in R

2017-06-06 Thread David Winsemius
of N * M, corresponding to the numerical >>> values >>>> in the data frame C. >>>> >>>> A little example would be : >>>> >>>> n1 n2 n3 n4 >>>> >>>> m1 100 - - - >>>> >>>

Re: [R] Hi

2017-06-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. -- D

Re: [R] Reversing one dimension of an array, in a generalized case

2017-06-01 Thread David Winsemius
d" > "the arc of the moral universe is long, but it bends toward justice" -MLK Jr. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the post

Re: [R] Data import R: some explanatory variables not showing up correctly in summary

2017-06-01 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 provi

Re: [R] (no subject)

2017-05-30 Thread David Winsemius
ersion 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 provid

Re: [R] get the value of a biplane

2017-05-29 Thread David Winsemius
ling 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] R-help Digest, Vol 171, Issue 20

2017-05-29 Thread David Winsemius
ct models > fitted with different routines (one of which is asreml-r). > > Ron. > > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the postin

Re: [R] creat contingency tables with fixed row and column margins

2017-05-27 Thread David Winsemius
o explain the purpose of this effort. -- David. > 2017-05-27 16:04 GMT-04:00 David Winsemius : > > > On May 27, 2017, at 12:49 PM, li li wrote: > > > > Hi all, > > Is there an R function that can be used to enumerate all the contingency > > tables with fix

Re: [R] creat contingency tables with fixed row and column margins

2017-05-27 Thread David Winsemius
ps://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 m

Re: [R] Need Help To Solve An Equation In R

2017-05-27 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] Matching values between 2 data.frame.

2017-05-20 Thread David Winsemius
unique i.e. no duplication > > Previously I have implemented a 'for' loop to implement above, however > since both of my data.frames are quite big, it is taking long time to > execute. Is there any 'R' way to implement thi

Re: [R] Offset - usersplits function package RPART

2017-05-17 Thread David Winsemius
some > helpful advice. `predict`-methods are functions written to deliver results from a particular class. Look at: methods(predict) Sometimes there is a func.default method for a generic function named `func`, but rather predictably I would say, there is no such default in the case of `pr

Re: [R] converting each column of a data frame into a matrix with n rows

2017-05-17 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. > > __ > R-hel

Re: [R] converting each column of a data frame into a matrix with n rows

2017-05-17 Thread David Winsemius
x_y_list = lapply(y, function(x) f_matrix (x) ) > > __ > 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, minima

Re: [R] Error: invalid type (closure) for the variable 'time' - object specific trend

2017-05-14 Thread David Winsemius
gt;> -pd >> >>> Please find attached the results of str(R_Test_log_Neu): >>> Classes ‘tbl_df’, ‘tbl’ and 'data.frame': 132 obs. of 4 variables: >>> $ town : num 1 1 1 1 1 1 1 1 1 1 ... >>> $ year : num 1 2 3 4 5 6 7 8 9 10 ... >&g

Re: [R] display double dot over character in plotmath?

2017-05-14 Thread David Winsemius
> On May 14, 2017, at 10:43 AM, David Winsemius wrote: > > >> On May 14, 2017, at 9:08 AM, David Winsemius wrote: >> >>> >>> On May 14, 2017, at 8:43 AM, Ranjan Maitra wrote: >>> >>> Thanks, Duncan! >>> >>&

Re: [R] display double dot over character in plotmath?

2017-05-14 Thread David Winsemius
> On May 14, 2017, at 9:08 AM, David Winsemius wrote: > >> >> On May 14, 2017, at 8:43 AM, Ranjan Maitra wrote: >> >> Thanks, Duncan! >> >> This works for the particular case and is, to my mind, a great solution! >> >> However, I was w

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