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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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] 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
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
txt <- file(txt) } } fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, simplifyMatrix = simplifyMatrix, flatten = flatten, ...) } > > > Thank you! > -Rich > > -Original Message

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] (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] 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] 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] 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] 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] 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] 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] 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
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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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-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 [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] 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] 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] 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] 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] Date operation Question in R

2017-03-31 Thread David Winsemius
-2018" "Dec-2018" "Dec-2018" -- David. > >> >> Also, is there a way to change the Sys.Date() format to the one >> mentioned above (jan-2007)? > > format(Sys.Date(), "%b-%Y") > > see ?strptime for details. > > Thomas > >> >> Thanks in

Re: [R] Correlation between continuous and binary vectors.

2017-04-01 Thread David Winsemius
I suspect this has been discussed in the past in rhelp. My favorite search engine is Markmail Sent from my iPhone > On Mar 31, 2017, at 8:53 PM, Art U wrote: > > Hi, > I'm trying to create number of vectors, part of them are binary and part > are continuous. Is there a way in R to generate the

Re: [R] Seeking to Dummify Categorical Variables

2017-04-02 Thread David Winsemius
eb. -- > Bruce Ratner, Ph.D. > > __ > 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] Seeking to Dummify Categorical Variables

2017-04-02 Thread David Winsemius
> On Apr 2, 2017, at 12:19 PM, David Winsemius wrote: > >> >> On Apr 2, 2017, at 11:48 AM, BR_email wrote: >> >> Hi R'ers: >> I need a jump start to obtain my objective. >> Assistance is greatly appreciated. >> Bruce >> >>

Re: [R] R hangs on startup

2017-04-02 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 __ R

Re: [R] Antwort: Re: Antwort: Re: Way to Plot Multiple Variables and Change Color

2017-04-10 Thread David Winsemius
gt;>"2", >>"3", >>"4", >>"5", >>"6", >>"7", >> "8", >>"9", >>"10", >>"11

Re: [R] Antwort: Re: Antwort: Re: Way to Plot Multiple Variables and Change Color

2017-04-10 Thread David Winsemius
> On Apr 10, 2017, at 1:06 PM, David Winsemius wrote: > > >> On Apr 10, 2017, at 7:45 AM, g.maub...@weinwolf.de wrote: >> >> Hi Ulrik, >> >> many thanks for your reply. I had to take an unplanned break and was not >> in the office during the

Re: [R] Sample size using residual standard deviation

2017-04-12 Thread David Winsemius
de 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://s

Re: [R] Merge list element by name

2017-04-13 Thread David Winsemius
rg, Sweden | mashra...@yahoo.com > > __ > 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] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-15 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 >>>

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-15 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. >>> >>> >> >> ___

Re: [R] How to integrate OpenBLAS LAPACK to my RStudio in WINDOWS 7?

2017-04-16 Thread David Winsemius
R's mingw, cygwn in the > environment path because i have installed those two beforehand. My RSTUDIO=3.4 I thought R's binary wasn't set up to run under Cygwin? And I didn't change my mind after reading Section: C.8 Cygwin I think follow-up question on this matter would be mor

Re: [R] the difference between "-" and "!" between base and data.table package

2017-04-16 Thread David Winsemius
ices %in% 50:100), ] # bad idea to use minus > before which() [1] mpg cyl disp hp drat wt qsec vs am gear carb <0 rows> (or 0-length row.names) Yes, I know that some people think the `which` is not needed. I'm not one of them. -- David. > Carl Sutton > > _____

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-16 Thread David Winsemius
d() function referred to in fortune(182). >>> >>> cheers, >>> >>> Rolf Turner >>> >>> -- >>> Technical Editor ANZJS >>> Department of Statistics >>> University of Auckland >>> Phone: +64-9-373-7599 ext. 8

Re: [R] Return value from function with For loop

2017-04-16 Thread David Winsemius
ed]] > > __ > 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, sel

Re: [R] Return value from function with For loop

2017-04-16 Thread David Winsemius
lt;- for(i in 1:3)i >> z > NULL ## still > > Cheers, > Bert > > > > > Cheers, > Bert > > > > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -

Re: [R] rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created

2017-04-20 Thread David Winsemius
I would have thunk that the right list would be https://stat.ethz.ch/mailman/listinfo/r-package-devel Best David Sent from my iPhone > On Apr 19, 2017, at 3:40 PM, Philip Rinn wrote: > > Hi, > >> On 12.04.2017 at 08:09, Jeff Newmiller wrote: >> >> Someone might respond here anyway, but I t

Re: [R] "Copy-pastable" output of 1000 plus variables

2017-04-23 Thread David Winsemius
It would be best if you could demonstrate _with_ _code_ the sort of operation you propose. David Sent from my iPhone > On Apr 23, 2017, at 1:07 PM, Bruce Ratner PhD wrote: > > R-helpers: > I'm reading "Advanced R" (Wickham), which provides his way, quoted below, of > keeping variables. This

Re: [R] "Copy-pastable" output of 1000 plus variables

2017-04-23 Thread David Winsemius
I don't have a lot of interest in trying to replicate operations in SAS. If you don't exhibit the willingness to show code in R then ... best of luck. But do read the Posting Guide to at least understand the local expectations. Good luck; David Sent from my iPhone > On Apr 23, 2017, at 5:26 P

Re: [R] "Copy-pastable" output of 1000 plus variables

2017-04-23 Thread David Winsemius
In context. Sent from my iPhone > On Apr 23, 2017, at 2:38 PM, Jeff Newmiller wrote: > > Coming from an Excel background, copying and pasting seems attractive, but it > does not create a reproducible record of what you did so it becomes quite > tiring and frustrating after some time has passe

Re: [R] adding counter to df by group

2017-05-03 Thread David Winsemius
ed_congruent$subject_nr, red_congruent$subject_nr, FUN=seq_along) `ave` is very useful for delivering vectors with length equal to nrow of a dataframe. Do remember to name the FUN parameter (although I still usually forget). -- David Winsemius Alameda, CA, USA

Re: [R] General Beta Distribution

2017-05-03 Thread David Winsemius
e 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://stat.ethz.ch

Re: [R] RevoScale R / SparkLyr

2017-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,

Re: [R] Non standard Beta Distribution

2017-05-03 Thread David Winsemius
licate (or triplicate) posting while using the Mailman management interface.) David Winsemius > -- > > Collins Ochieng onyaga > AIMS Tanzania student 2016/2017 > Skype: collins7952 > > -- > > *AIMS-Tanzania* > > *DISCLAIMER*: The contents of this ema

Re: [R] Non standard Beta Distribution

2017-05-04 Thread David Winsemius
laxed if you showed greater effort at creating a 3 member set of gbeta distribution function, but I haven't seen that level of effort yet. -- David. > > > Thanks. > > On 4 May 2017 at 03:27, David Winsemius wrote: > > > On May 3, 2017, at 3:55 PM, Collins Ochieng

Re: [R] loading edited functions already in saved workspace automatically

2017-05-05 Thread David Winsemius
E do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> --- >> This email has been checked for viruses by AVG. >> http://www.avg.com >> >> > > -- > Michael > http://www.dewey.myzen.co.uk/home.h

Re: [R] create a correct list from Document Term Matrix

2017-05-06 Thread David Winsemius
r", frequenciesAlzheimer = frequenciesAlzheimer) -- David. > > Thanks for any help! > Elahe > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailma

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