Re: [R] Help with setting locale

2018-09-14 Thread David Winsemius
stions for correct command. > > With thanks > > [[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 re

Re: [R] Question on Binom.Confint

2018-09-13 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://

Re: [R] Change the position of label when using R package eulerr

2018-09-13 Thread David Winsemius
int 4 .. .. .. .. .. .. ..- attr(*, "unit")= chr "native" -- David. > > > Thank you, > > Aimin > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSC

Re: [R] Batch mode questions.

2018-07-25 Thread David Winsemius
appreciated, > > Rich > > __ > 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] pROC

2018-07-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, re

Re: [R] Locating data source error in large file

2018-07-20 Thread David Winsemius
_time <- with( wy2016, as.POSIXct( paste( date, time ) , format= "%Y-%m-%d %H:%M") ) David. > > __ > 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] Scripting a repeating work flow

2018-07-19 Thread David Winsemius
://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.' -Gehm's Corollary to Clarke's Third Law _

Re: [R] Read in data table, change columns from factors [RESOLVED]

2018-07-19 Thread David Winsemius
> On Jul 19, 2018, at 1:21 PM, Rich Shepard wrote: > > On Thu, 19 Jul 2018, David Winsemius wrote: > >> I took the code that I offered earlier and replaced allyears with wy2018: > >> date timeelev myDate myTime >> 1 2017-10-01 00

Re: [R] Read in data table, change columns from factors

2018-07-19 Thread David Winsemius
; Adding a format as either %h:%m or just h:m makes no difference. > > Rich > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > P

Re: [R] Read in data table, change columns from factors

2018-07-19 Thread David Winsemius
... > > Also, when I tried to use chron() for both the date and time columns of > the dataframe these failed, too. > > Please teach me how to read the data sources and produce dataframe columns > of date, time, and numeric. > > R

Re: [R] Read in data table, change columns from factors

2018-07-18 Thread David Winsemius
> On Jul 18, 2018, at 4:07 PM, Rich Shepard wrote: > > On Wed, 18 Jul 2018, David Winsemius wrote: > >> I would not destroy the possibility of using the original values: > > David, > > What are the benefits of keeping date and time as factors? > >>&g

Re: [R] Read in data table, change columns from factors

2018-07-18 Thread David Winsemius
by "-376293888000369098752". > > I've read ?read.table and looked on the web but I'm not finding how to > properly change the time and elev factors to H:M and fractional feet. A > pointer to a resource is much appreciated. > > R

Re: [R] Suggestions for scatter plot of many data

2018-07-18 Thread David Winsemius
ng 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 'Any technology dis

Re: [R] Where does ' Setting LC_CTYPE failed, using "C" ' come from? 2

2018-07-17 Thread David Winsemius
appears in that list's archive: https://stat.ethz.ch/pipermail/r-sig-mac/ > > Pointers are welcome > C. > > -- > Christian Hoffmann > Rigiblickstrasse 15b > CH-8915 Hausen am Albis > Switzerland > Telefon +41-(0)44-7640853 > >

Re: [R] No transactions/positions to chart in Quantstrat

2018-07-14 Thread David Winsemius
t;, > arguments = list(sigcol = "longthreshold", sigval = TRUE, > orderqty = "all", ordertype = "market", > orderside = "short", replace = FALSE, > prefer = "Open"), > type = "exit") > > > > out <- applyStrategy(st

Re: [R] Simplify the loop over the 3rd dimension of a 3D array

2018-07-12 Thread David Winsemius
for the 3rd dimension. >> Many thanks for your time >> Have a great day >> Marine >> [[alternative HTML version deleted]] >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] Help with replace()

2018-07-12 Thread David Winsemius
> group_by(month == c(4,9), day == 31) %>% > tally() > View(df1, month == c(4,9)) > > # df1 %>% > # group_by(month == c(4,9), day == 30) %>% > > > I know there is a simple solution and it is driving me mad that it eludes > me, despite being new to R. >

Re: [R] Generate N random numbers with a given probability and condition

2018-07-12 Thread David Winsemius
o much interested in the the statistics as I am to see the two mentioned applications. Best regards; 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

Re: [R] Using write.csv as a connection for read.csv

2018-07-09 Thread David Winsemius
producible code. > > > [[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:/

Re: [R] ASExtras library

2018-07-04 Thread David Winsemius
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 insufficiently advanced.'

Re: [R] running Rmpi with SGE on a cluster

2018-07-01 Thread David Winsemius
-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.' -Gehm's Corollary to Clarke's Third Law ___

Re: [R] Convert list of data frames to one data frame

2018-06-29 Thread David Winsemius
c(t(x) >> >> # This produces a nice list of data frames, except for the names >> >> lapply(employees4BList, function(x) rbind.data.frame(c(t(x >> >> # This list is a disaster. I am looking for a solution that works in >> this case. >> >

Re: [R] OT --- grammar.

2018-06-25 Thread David Winsemius
I’m surprised no on has reference the F distribution where the degrees of freedom are manifestly plural. Sent from my iPhone > On Jun 25, 2018, at 6:05 PM, John wrote: > > On Sun, 24 Jun 2018 20:16:24 -0400 > JRG wrote: > >>> On 06/24/2018 08:03 PM, Bert Gunter wrote: >>> Ted, et. al.: >>>

Re: [R] as.Date and Legend in a plot

2018-06-22 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 'Any technolo

Re: [R] Optimisation with Normalisation Constraint

2018-06-20 Thread David Winsemius
; I would like sum(predict(myfit)) to be exactly 5 from the start, > without renormalising a posteriori the fit. Wouldn't that happen if you minimized that absolute deviations from the fit rather than minimizing the sums of squares?? > > Any suggestion is appreciated. >

Re: [R] Subset Rasterbrick by time

2018-06-18 Thread David Winsemius
> On Jun 18, 2018, at 7:21 AM, Miluji Sb wrote: > > Dear all, > > I have a rasterbrick with the date/time information provided which I would > like to subset by year. > > However, when I use the following code for sub-setting; > > new_brick <- subset(original, which(getZ( original ) >= as.D

Re: [R] Problems running a PGLS model with phylogenetic uncertainty

2018-06-17 Thread David Winsemius
quot;, "Rissa_tridactyla", "Sterna_bergii", + "Sterna_sandvicensis", "Sterna_dougallii", "Sterna_hirundo", "Sterna_paradisaea", "Sterna_fuscata", "Anous_stolidus", "Anous_minutus",

Re: [R] Problems running a PGLS model with phylogenetic uncertainty

2018-06-16 Thread David Winsemius
ed! Please submit code that will run in a clean session. Close R. Do not save anything except your history. Delete or rename your `.Rdata` file and staart a fresh session. then include everything needed to get the behavior you are reporting. > > Kind regards, > > Hannah van Noort > __

Re: [R] Help installing the finalfit package

2018-06-13 Thread David Winsemius
ask on the SuperUser forum where advice about Windows system maintenance is on-topic: https://superuser.com/ Best of luck. David. > Thanks > > WHP > > From: David Winsemius [mailto:dwinsem...@comcast.net] > Sent: Wednesday, June 13, 2018 12:48 AM > To: Bill Poling > Cc: r

Re: [R] Help installing the finalfit package

2018-06-12 Thread David Winsemius
e 'mice' > > > > The downloaded binary packages are in > >C:\Users\bpoling\AppData\Local\Temp\RtmpWYkyVd\downloaded_packages > >> library(mice) > > Error in library(mice) : there is no package called 'mice' > > > I would appreciate any suggestion please. > > Thank y

Re: [R] Calculating AIC and BIC for Time Series Models

2018-06-08 Thread David Winsemius
> On Jun 8, 2018, at 12:43 PM, David Winsemius wrote: > > >> On Jun 8, 2018, at 12:26 PM, Paul Bernal wrote: >> >> Dear friends, >> >> I have been fitting some TS models from the forecast package like ets(), >> ses(), hw(), HoltWinters(), stlf()

Re: [R] Calculating AIC and BIC for Time Series Models

2018-06-08 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] open help files from Terminal

2018-06-07 Thread David Winsemius
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.' -Gehm's Corollary to Clarke's Third Law __

Re: [R] stat_function with data frames in ggplot2

2018-06-07 Thread David Winsemius
ls: chett...@gmail.com,vche...@bu.edu > > [[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

Re: [R] using myfunction in stat_function

2018-06-06 Thread David Winsemius
ilman/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.' -Ge

Re: [R] ROC within SEM

2018-06-06 Thread David Winsemius
e identity of your mail-client, so advice about that concern can only be "RTFM". > __ > 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

Re: [R] read .asc from web into R

2018-06-03 Thread David Winsemius
> On Jun 3, 2018, at 6:52 AM, Qian Yiting wrote: > > Hi All, > > I am new to R. To import data with .asc ending from the web into R, I have > tried many functions for importing data but it came out not well. The > problem may seem to be very basic but unfortunately I haven’t found any >

Re: [R] Difficulty in writing R code for one pool dynamic model

2018-05-28 Thread David Winsemius
> On May 28, 2018, at 5:02 PM, Kebebe Ergano via R-help > wrote: > > > Hi everyone, > > I was trying to mode the following exercise using R. > > The question: Set up a one pool model using numericintegration. The model > will run from time 1 to time 30 using a time step of 1.The pool (A)

Re: [R] find the permutation function of a sorting

2018-05-22 Thread David Winsemius
2-->1, 3-->3. > How can I apply the permutation function to a new set > c("D","E", "F")? > so that the result is > c("E","D", "F"). So you want: > x <- sort(c("bc","ac","dd

Re: [R] find the permutation function of a sorting

2018-05-22 Thread David Winsemius
dex.return=TRUE) > $x > [1] 2 3 4 7 8 10 > > $ix > [1] 6 4 3 2 5 1 > I don't understand what is being requested. The $ix value is the same as the one returned `by order`. David. > 2018-05-23 10:49 GMT+08:00 David Winsemius : > > > > On May 22, 201

Re: [R] find the permutation function of a sorting

2018-05-22 Thread David Winsemius
> On May 22, 2018, at 10:06 PM, John wrote: > > Hi, > > Is there any way to find the permutation function of the sorting and to > apply the function (or its inverse) elsewhere? > > For example, the following permutation function from the sorting in the > matrix form is > c(1,2,3), c(2,1,3

Re: [R] Exporting to text files

2018-05-18 Thread David Winsemius
Or capture.output Sent from my iPhone > On May 18, 2018, at 12:54 PM, Jeff Newmiller wrote: > > ?sink > >> On May 18, 2018 9:47:25 AM PDT, Ed Siefker wrote: >> I have dose response data analyzed with the package 'drc'. >> 'summary(mymodel)' prints my kinetic parameters. I want >> that text i

Re: [R] Bilateral matrix

2018-05-17 Thread David Winsemius
> On May 17, 2018, at 6:40 AM, Miluji Sb wrote: > > Dear William and Ben, > > Thank you for your replies and elegant solutions. I am having trouble with > the fact that two of the previous locations do not appear in current > locations (that is no one moved to OKC and Dallas from other cities),

Re: [R] Installing an Archived Package

2018-05-16 Thread David Winsemius
> On May 16, 2018, at 2:15 PM, Evguenia Ignatova wrote: > > Hello again, > > I did not expect the browser to automatically extract, so I changed the > Safari setting and it downloaded as a “gz” file. > > It is clear now that R is finding the package but I get a different error as > follows:

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread David Winsemius
ns like > that, and can perhaps undo them. If there were a reason to undo the closure, there is an option to "reopen", but there is no reason that I can see. The 2009 posting seems to have elicited a sensible reply from Dirk. > > Duncan Murdoch > > ___

Re: [R] Dataverse (reading files with .tab and .7z suffixes)

2018-05-13 Thread David Winsemius
tract > $ cd /tmp && unzip 001_AppendixC.tab > $ head -n2 /tmp/xl/workbook.xml | cut -c 1-75 > > http://schemas.openxmlformats.org/spreadsheetml/2006/main"; > > Once you figure out the format manually, write an R function that > figures out the format, and ask ag

Re: [R] (no subject)

2018-05-13 Thread David Winsemius
> On May 13, 2018, at 9:35 AM, David Winsemius wrote: > > >> On May 12, 2018, at 9:42 AM, malika yassa via R-help >> wrote: >> >> >> hello >> for exampl, i have this programme >> # Generating data which are right truncated >> librar

Re: [R] (no subject)

2018-05-13 Thread David Winsemius
.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. > [[alternative HTML version deleted]] > > ____

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread David Winsemius
txt <- file(txt) } } fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, simplifyMatrix = simplifyMatrix, flatten = flatten, ...) } > > > Thank you! > -Rich > > -Original Message

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread David Winsemius
le output- js1 <-fromJSON(zWebObj) # Error: lexical error: inside a string, '\' occurs before a character which it may not. title":""}},"serializer":"SMW\Serializers\QueryResultSeriali (right here) --^ I

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread David Winsemius
; arguments imply differing number of rows: 0, 1 > >> print(json_data_frame) > > Error in print(json_data_frame) : object 'json_data_frame' not found > >> > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behal

Re: [R] help with json data from the web into data frame in R

2018-05-08 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 pro

Re: [R] error in chol.default((value + t(value))/2) : , the leading minor of order 1 is not positive definite

2018-05-07 Thread David Winsemius
em if it were posted to the mixed models list. > start = c(255,115,130*1e-3,17*1e-3), > na.action = na.omit,verbose=TRUE,control = list(msVerbose = TRUE)) > summary(gfr.nlme) > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE

Re: [R] Installing required packages with an R package

2018-05-07 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 'Any technology distinguishable from magi

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 David Winsemius
your second message was also sent as HTML. I do therefore ask (again) that you take the time to read the Posting Guide. \/\/\/\/A message that appears in every message sent from Rhelp's list server \/\/\/\/\/\/\ > > PLEASE do read the posting guide http://

Re: [R] Package for Molecular Properties

2018-05-04 Thread David Winsemius
se="") > seq [1] "GAGAACTATG" > chartr( old="CGTA", new="GCAT", seq) [1] "CTCTTGATAC" Caveat: I'm not a biologist, nor have I ever really done biochemistry. This was from memory of decades-old biology course. Check all the assumptions and

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

2018-05-03 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

Re: [R] adding overall constraint in optim()

2018-05-03 Thread David Winsemius
s surprised that emoji made it through. Nonetheless it is usually much safer to posting in plain-text. Didn't seem to be a problem in this case but code and data are often mangled. David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.&

Re: [R] Converting a list to a data frame

2018-05-03 Thread David Winsemius
ble code. > > ______ > 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, mini

Re: [R] Package 'data.table' in version R-3.5.0 not successfully being installed

2018-04-26 Thread David Winsemius
> Department of Agricultural Statistics > Indira Gandhi Krishi Vishwavidyalaya > Raipur > Chhattisgarh > India > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] Problem reading RDS files

2018-04-22 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. >> >> -- >> Sent f

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread David Winsemius
1L, 3L, 2L), .Label = c("task 1", > "task 3", "task2"), class = "factor"), c2d1 = structure(c(1522555200, > 1523764800, 1527825600), class = c("POSIXct", "POSIXt"), tzone = ""), >c3d1 = structure(c(1523764800, 1527739200

Re: [R] Gantt Chart Using Plotrix

2018-04-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 W

Re: [R] Problem reading R files

2018-04-20 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 'Any technology distinguishable from magic is insufficiently adv

Re: [R] create multiple categorical variables in a data frame using a loop

2018-04-19 Thread David Winsemius
> On Apr 19, 2018, at 1:22 PM, David Winsemius wrote: > > >> On Apr 19, 2018, at 11:20 AM, Ding, Yuan Chun wrote: >> >> Hi All, >> >> I want to create a categorical variable, cat.pfoa, in the file of pfas.pheno >> (a data frame) based on log

Re: [R] create multiple categorical variables in a data frame using a loop

2018-04-19 Thread David Winsemius
> On Apr 19, 2018, at 11:20 AM, Ding, Yuan Chun wrote: > > Hi All, > > I want to create a categorical variable, cat.pfoa, in the file of pfas.pheno > (a data frame) based on log2pfoa values. I can do it using the following code. > > pfas.pheno <-within(pfas.pheno, {cat.pfoa<-NA > cat.pfoa[pf

Re: [R] Event-triggered change in value with a time-delay

2018-04-18 Thread David Winsemius
lar in R? > > > Thank you for your time and any tips you might have! > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo

Re: [R] Time intervals in a datframe

2018-04-17 Thread David Winsemius
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 'Any tech

Re: [R] Adding a new conditional column to a list of dataframes

2018-04-15 Thread David Winsemius
s help page you will find only the value of its RHS (in your case "C") is returned. That assignment function has is predominat action via side-effect rather than by a truly functional operation.. The function might have been written: MyFunction <- function(x) { x$NewCol [ x[ ,3] <

Re: [R] RQDA/RGtk2 Installation Problem

2018-04-14 Thread David Winsemius
ages("RQDA") : > installation of package ‘RGtk2’ had non-zero exit status > 3: In install.packages("RQDA") : > installation of package ‘gWidgetsRGtk2’ had non-zero exit status > 4: In install.packages("RQDA") : > installation of package ‘RQDA’ had non-zer

Re: [R] Fwd: Re: Reading xpt files into R

2018-04-14 Thread David Winsemius
n. Perhaps he was following the tutorial at: http://www.phusewiki.org/wiki/index.php?title=Open_XPT_File_with_R > but the bottom line is that just because something is called foo.xpt there is > no guarantee that it actually is a SAS XPORT file. Firefox plugins use the

Re: [R] Reading xpt files into R

2018-04-13 Thread David Winsemius
g 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 'Any technology d

Re: [R] ODE

2018-04-12 Thread David Winsemius
.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 insufficiently advanced.

Re: [R] Question about subset

2018-04-08 Thread David Winsemius
Sent from my iPhone > On Apr 8, 2018, at 9:06 PM, Sebastien Bihorel > wrote: > > Hi, > > The help page for subset states "subset: logical expression indicating > elements or rows to keep: missing values are taken as false." > > Before I try to re-invent the wheel, I would like to know if o

Re: [R] Obtain gradient at multiple values for exponential decay model

2018-04-06 Thread David Winsemius
> On Apr 6, 2018, at 8:15 AM, David Winsemius wrote: > >> >> On Apr 6, 2018, at 8:03 AM, David Winsemius wrote: >> >> >>> On Apr 6, 2018, at 3:43 AM, g l wrote: >>> >>>> Sent: Friday, April 06, 2018 at 5:55 AM >>>>

Re: [R] Obtain gradient at multiple values for exponential decay model

2018-04-06 Thread David Winsemius
> On Apr 6, 2018, at 8:03 AM, David Winsemius wrote: > > >> On Apr 6, 2018, at 3:43 AM, g l wrote: >> >>> Sent: Friday, April 06, 2018 at 5:55 AM >>> From: "David Winsemius" >>> >>> >>> Not correct. You a

Re: [R] Obtain gradient at multiple values for exponential decay model

2018-04-06 Thread David Winsemius
> On Apr 6, 2018, at 3:43 AM, g l wrote: > >> Sent: Friday, April 06, 2018 at 5:55 AM >> From: "David Winsemius" >> >> >> Not correct. You already have `predict`. It is capale of using the `newdata` >> values to do interpolation with

Re: [R] Obtain gradient at multiple values for exponetial decay model

2018-04-05 Thread David Winsemius
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 'Any technology distinguisha

Re: [R] Names of variables needed in newdata for predict.glm

2018-03-31 Thread David Winsemius
l, self-contained, reproducible code. >> > > > > > > Denne e-mail indeholder fortrolig information. Hvis du ikke er den rette > modtager af denne e-mail eller hvis du modtager den ved en fejltagelse, beder > vi dig venligst informere a

Re: [R] Medical risk package calculation RSI

2018-03-25 Thread David Winsemius
medicalrisk: Calculating risk and comorbidities from ICD-9-CM codes (source, html) advanced medicalrisk: Correlating ICU days with mortality risk and comorbidities (source, html) Once you have made an effort to "do your own home

Re: [R] Calculate weighted proportions for several factors at once

2018-03-23 Thread David Winsemius
o fit into the tidyverse paradigm. I think the survey package might also be useful, but it is not particularly designed for use with tibbles and `%>%`. Might work. Might not. HTH; Dadid. > > Best regards, > Erich > > [[alternative HTML version deleted]] > > ______

Re: [R] MCMCglmm multinomial model results

2018-03-23 Thread David Winsemius
nt of Psychology > Simon Fraser University > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listin

Re: [R] Sum of columns of a data frame equal to NA when all the elements are NA

2018-03-21 Thread David Winsemius
de >> 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.c

Re: [R] Package 'pd.mirna.1.0.2xgain' was not found in the BioConductor repository

2018-03-21 Thread David Winsemius
nd 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 distingu

Re: [R] R project global options file

2018-03-17 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] Need Help on Batch forecasting for multiple items at one go

2018-03-13 Thread David Winsemius
; and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law __ R-help@r-project.o

Re: [R] subsetting comparison problem

2018-03-11 Thread David Winsemius
.what can I try, any pointers/ packages will be great help. > Please help. > > Thanks > Neha > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > ht

Re: [R] raster time series statistics

2018-03-06 Thread David Winsemius
ng so after all. So this is really a feature request for the maintainer. You should contact the responsible individual. maintainer('rts') [1] "Babak Naimi " > > > -Original Message- > From: Jim Lemon [mailto:drjimle...@gmail.com] > Sent: Tuesday, 6 March 20

Re: [R] raster time series statistics

2018-03-05 Thread David Winsemius
g that the statistics accept the yearmonth format of the > timeslot, as it allows subsetting. > Any suggestions? > Thanks > Herry > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://sta

Re: [R] data analysis for partial two-by-two factorial design

2018-03-05 Thread David Winsemius
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 County" comic strip ) > > On Mon, Mar 5, 2018 at 3:00 PM, David Winsemius > wrote: > > > On Mar 5, 2018, a

Re: [R] data analysis for partial two-by-two factorial design

2018-03-05 Thread David Winsemius
eally > exist, the interpretation as additive effects is incorrect. > > 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

Re: [R] data analysis for partial two-by-two factorial design

2018-03-05 Thread David Winsemius
> On Mar 5, 2018, at 8:52 AM, Ding, Yuan Chun wrote: > > Hi Bert, > > I am very sorry to bother you again. > > For the following question, as you suggested, I posted it in both Biostars > website and stackexchange website, so far no reply. > > I really hope that you can do me a great favor t

Re: [R] Random effect in GAM (mgcv)

2018-03-04 Thread David Winsemius
ie >> >> >>[[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] lmrob gives NA coefficients

2018-03-03 Thread David Winsemius
st -- 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 'Any technology dist

Re: [R] RExcel issues

2018-03-01 Thread David Winsemius
ume that licensed users are expected to bring problems to the vendor. http://rcom.univie.ac.at/contact.html > > Any suggestions of what to try will be warmly entertained! > > Thanks, > > Mike > > Michael Ashton, CFA > Managing Principal > > Enduring In

Re: [R] Fleming-Harrington weighted log rank test

2018-02-14 Thread David Winsemius
> On Feb 14, 2018, at 5:26 PM, David Winsemius wrote: > >> >> On Feb 13, 2018, at 4:02 PM, array chip via R-help >> wrote: >> >> Hi all, >> >> The survdiff() from survival package has an argument "rho" that implements >> F

Re: [R] Fleming-Harrington weighted log rank test

2018-02-14 Thread David Winsemius
egular survival() function? I think that survdiff uses a different version than what you have found. The G-rho family weights are: w_j = [Sˆ(tj)]^ρ So rather than two parameters on S(t) and (1-S(t)) as in the p,q version, you only have one parameter applied to S(t). This class handout says that the

Re: [R] Help with regular expressions

2018-02-12 Thread David Winsemius
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 insufficiently advanced.' -Gehm

Re: [R] Parallel assignments and goto

2018-02-11 Thread David Winsemius
4 5798.3965 6302.40467 6077.7180 6492.959 > 9967.237 100 > factorial_tr_3(100) 66186.080 72336.2810 76480.75172 73632.9665 75405.054 > 203785.673 100 > factorial_tr_4(100) 270.978 302.7890 337.48763 313.9930 334.096 > 1425.702 100 > > I don’t necessari

Re: [R] Hausman test

2018-02-11 Thread David Winsemius
ML 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/

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