[R] extrat non diagonal

2018-11-14 Thread malika yassa via R-help
2] [,3] [1,]   NA   NA   NA [2,]   NA   NA   NA but me i want this matrix[,1] [,2] [,3] [1,]  0.1  0.4  0.4 [2,]  0.2  0.2  0.1 thank you [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] How to create gridded data

2018-11-14 Thread MacQueen, Don via R-help
.5 ## [2,] 3.2 5.0 1.8 2.0 ## From the original question: ## DF2 ## 6.1 4.5 7.8 5.5 ## 3.2 5.0 1.8 2.0 ## ... -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 On 11/13/18, 8:50 PM, "R-help on beha

Re: [R] extrat non diagonal

2018-11-14 Thread William Dunlap via R-help
> for examplei have this matrix > > > > w2<-c(0.1,0.2,0.4,0.2,0.4,0.1) > > > > aa<-matrix(w1,nrow=3,ncol=3) > > > > aa > > > > [,1] [,2] [,3] > > > > [1,] 0.4 0.4 0.4 > > > > [2,] 0.1 0.1 0.1 > > > > [3,] 0.2 0.2 0.2

[R] create a heatmap for findAssocs results based on time

2018-11-15 Thread Elahe chalabi via R-help
ol=DocumentTermMatrix(corpus) frequenciescontrol$time=c("2015","2015","2015","2015","2015","2016","2016","2016","2016","2016") findAssocs(frequenciescontrol, "updat", 0.01) Heatmap

[R] subset English language using textcat package

2018-11-19 Thread Elahe chalabi via R-help
ike the following: "I love this book" "This book is amazing" "several books in proccess" Thanks for any help! Elahe ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinf

Re: [R] Request for aid in first R script

2018-11-19 Thread Thierry Onkelinx via R-help
th R? > > It would save me a lot of programming. The files will soon have about 1 > million lines, which is a lot to process. > > I would apreciate very much if someone could help me. > > Kind regards > > Kepler > > [[alternative HTML version deleted]] > >

[R] Use of C functions inside the DLL object

2018-11-19 Thread Cleber N.Borges via R-help
= cdll.dwf >>> version = create_string_buffer(16) >>> dwf.FDwfGetVersion(version) 1 >>> print("DWF Version: "+str(version.value)) DWF Version: 3.8.22 >>> --- Este email foi escaneado pelo Avast antivírus. https://www.avast.com/antivirus ____

[R] detecting measurement of specific id in column in R

2018-11-22 Thread Romy Rehschuh via R-help
then "IN" again, but it can change. Therefore, searching for the closest "IN" does not work. Do you have any suggestions? Would it be possible to write a loop for this? I would really much appreciate your help! Best, Vicci __ R-help

[R] Bootstrapped CIs of MSE for (G)AM model

2018-11-22 Thread varin sacha via R-help
rapping with 1000 replications results <- boot(data=Wage, statistic=MSE,    R=1000, formula=gam(wage ~education+s(age,bs="ps")+year,data=Wage) ) # get 95% confidence intervals boot.ci(results, type="bca") ## _

Re: [R] detecting measurement of specific id in column in R

2018-11-22 Thread Romy Rehschuh via R-help
but it just gives me the closest "IN" in time and not the "IN" before. I would appreciate any help! Thank you so much, Vicci Am Do., 22. Nov. 2018 um 17:53 Uhr schrieb Rui Barradas < ruipbarra...@sapo.pt>: > Hello, > > No attachment arrived. > R-help allows on

Re: [R] Bootstrapped CIs of MSE for (G)AM model

2018-11-22 Thread varin sacha via R-help
pe <- c("norm","basic", "stud", "perc") > boot.ci(results, type = ci.type) > > > > Hope this helps, > > Rui Barradas > > Às 20:36 de 22/11/2018, varin sacha via R-help escreveu: >> Dea

Re: [R] detecting measurement of specific id in column in R

2018-11-23 Thread Romy Rehschuh via R-help
_13CO2[row]) > rrdf[row,c("d13C_delta","ppm_CO2_delta","ppm_13CO2_delta")]<- > rrdf[row,c("d13C","ppm_CO2","ppm_13CO2")]-INval > } > > Jim > > On Fri, Nov 23, 2018 at 8:52 AM Romy Rehschuh via R-help > wrot

[R] R 3.5.2 scheduled for December 20

2018-11-23 Thread Peter Dalgaard via R-help
___ r-annou...@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-announce __ 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] Bootstrapped CIs of MSE for (G)AM model

2018-11-26 Thread varin sacha via R-help
pe = ci.type) # view results results plot(results) # get 95% confidence intervals boot.ci(results, type="all")  # # # # # # # # # # # # # # # # # # # # # # # # # # Le vendredi 23 novembre 2018 à 00:20:41 UTC+1, varin sacha via R-help a écrit : Great, many thanks Rui, it perfe

Re: [R] detecting measurement of specific id in column in R

2018-11-28 Thread John Kane via R-help
No attached file. R-help is very fussy about what kind of file it will accept, A txt or pdf is the best bet. On the other hand it usually is best to include any code and sample data in the actual e-mail.  Use the function dput() as the best way to supply data. On Thursday, November 22

Re: [R] Drawing a random number

2018-11-29 Thread William Dunlap via R-help
, 897, 567) > > The policy is my drawn random integer should never be equal to any item > from Vec > > Ofcourse I can use ifelse() to achieve the same, however I was wondering if > there is any direct way to get the same. > > Thanks, > > [[alternative HTML vers

Re: [R] Bootstrapping One- and Two-Sample Hypothesis Tests of Proportion

2018-11-29 Thread Marc Schwartz via R-help
t;>>> http://adv-r.had.co.nz/Reproducibility.html >>>> >>>> >>> https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example >>>> https://www.r-bloggers.com/minimal-reproducible-examples/ >>>> >&g

Re: [R] High dimensional optimization in R

2018-11-30 Thread Marc Girondot via R-help
fter 1 day or more running in a normal 64 bit PC with Ubuntu 16.04 or Windows 7. Ruben ______ 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-p

[R] Granger casuality test in r

2018-11-30 Thread Eneida Permeti via R-help
572 $Instant H0: No instantaneous causality between: The.differenced.public.debt and The.economic.growth data: VAR object VARp Chi-squared = 6.0964, df = 1, p-value = 0.01355 Inviato da Yahoo Mail su Android [[alternative HTML version deleted]] _____

[R] Fw: Granger casuality test in r

2018-11-30 Thread Eneida Permeti via R-help
, John C Frain wrote: On Fri, 30 Nov 2018 at 14:40, Eneida Permeti via R-help wrote: The results of my Granger causality test in r are below. VARp is my VAR model and I have two endogenous variables. From the results, I have only instantaneous causality. What does it mean?Thank you so

[R] Fw: Granger casuality test in r

2018-11-30 Thread Eneida Permeti via R-help
, John C Frain wrote: On Fri, 30 Nov 2018 at 14:40, Eneida Permeti via R-help wrote: The results of my Granger causality test in r are below. VARp is my VAR model and I have two endogenous variables. From the results, I have only instantaneous causality. What does it mean?Thank you so

[R] sustraction of two vectors of matrix

2018-12-05 Thread malika yassa via R-help
ain this matrix thank you very much [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] sample (randomly select) to get a number of successive days

2018-12-07 Thread Marc Schwartz via R-help
t; data from two successive days (in my real data I have a big time span >>> and want data from 25 consecutive days). I understand that I can do a >>> simple sample like this >>> >>> mysample <- myframe[sample(1:nrow(myframe), 4,replace=FALSE),] >>> mysampl

Re: [R] sample (randomly select) to get a number of successive days

2018-12-10 Thread Marc Schwartz via R-help
frame[c(sample(which(myframe$day==days[1]),2), >>> sample(which(myframe$day==days[2]),2)),] >>> >>> Jim >>> >>> >>> On Fri, Dec 7, 2018 at 8:08 PM Dagmar Cimiotti >>> wrote: >>>> Dear all, >>>> >>&g

Re: [R] Different performance with different R versions

2018-12-12 Thread MacQueen, Don via R-help
Probably more appropriate for R-SIG-Mac -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 On 12/11/18, 12:22 AM, "R-help on behalf of cowan robin" wrote: I am running a small simulation, a

[R] R code for if-then-do code blocks

2018-12-17 Thread Paul Miller via R-help
+ test1   test2 <- 2 + test1   test4 <- 1   test5 <- 1     } else {   test1 <- test2 <- test4 <- test5 <- 0     }) __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https:/

Re: [R] R code for if-then-do code blocks

2018-12-17 Thread Thierry Onkelinx via R-help
anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey /// <https://www.inbo.be> Op ma 17 dec. 2018 om 16:30 schreef Paul Miller via R-help < r

[R] AUC/Volume under the surface

2018-12-17 Thread Rehena Sultana via R-help
failed to figure out how to include interaction term in the model.  Looking forward for any help. Appreciate your help in advance.  Regards,rehena [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Webshot failed to take snapshot in Ubuntu machine

2018-12-18 Thread Marc Girondot via R-help
"root" effective_user "root" Any idea what went wrong would be highly helpful. Thanks, [[alternative HTML version deleted]] __ R-h

Re: [R] R code for if-then-do code blocks

2018-12-19 Thread Paul Miller via R-help
CCMA44 > 10),    0.216 + (0.257 * a_CCMA43) + (0.828 * a_CCMA43),    CCMA5),     CCMA5 = ifelse(CCMA5_condA == 1 & between(a_CCMA44, 0, 10) & (is.na(a_CCMA43) | a_CCMA43 < 0 | a_CCMA43 > 10),        0.216 + (0.257 * a_CCMA44) + (0.828 *

Re: [R] convert columns of dataframe to same factor levels

2018-12-19 Thread William Dunlap via R-help
quot;: 1 1 2 3 3 > > $ column_3: Factor w/ 2 levels "C","D": 1 1 2 2 1 > > > > Thank you > > > > I don't think read.table() can do it for you automatically. To do it > yourself, you need to get a vector of the levels. If you know this, > just assign

Re: [R] Problem with Plotting in R

2018-12-19 Thread MacQueen, Don via R-help
im argument to plot(). -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 On 12/18/18, 6:17 AM, "R-help on behalf of rsherry8" wrote: Please consider the following R statements:

[R] R 3.5.2 is released

2018-12-20 Thread Peter Dalgaard via R-help
ark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com _______ r-annou...@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-announce ______ R-help@r-project.org mailin

Re: [R] Problem with system() and source on linux

2018-12-20 Thread William Dunlap via R-help
t; and then run the script with system(), but I get that odd error with > source. I thought source was just > a plain linux command, how can it be "not found" from within system()? > > Any help much appreciated, > Thanks > > > -- > Agustin Lobo > aloboa...@gmai

[R] SE for all fixed factor effect in GLMM

2018-12-29 Thread Marc Girondot via R-help
"]) seC <- mean(sA["GC", "Std. Error"], sB["GC", "Std. Error"], sD["GC", "Std. Error"]) seD <- mean(sA["GD", "Std. Error"], sB["GD", "Std. Error"], sC["GD", "Std. Error"]) seA; seB; seC; seD Thanks, Marc __ 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] Error in names(x) <- value: 'names' attribute must be the same length as the vector in gam function

2019-01-04 Thread William Dunlap via R-help
n error in R: 'names' attribute [1] must be the same length > as the vector [0]. > > I try to find where the problem is by delete the term of > "s(date,bs="cc",k=100)" from the fomular and it could work well. It seems > like there is something wrong with

[R] Fit CMARS with R possible (Packages) ?

2019-01-04 Thread varin sacha via R-help
t;, I did not get anything, so Google is not my friend anymore ! If you have any solution, would be highly appreciated. Best, ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Fit CMARS with R possible (Packages) ?

2019-01-04 Thread Marc Schwartz via R-help
n mind is that people keep coming along and > sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Fri, Jan 4, 2019 at 11:31 AM varin sacha via R-help > wrote: > >> Dear R-experts, >> >> We can fi

[R] Merge the data from multiple text files

2019-01-05 Thread Priya Arasu via R-help
there a code in R to merge the data from multiple text files? Thank you Priya  [[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

Re: [R] g++ error causes non-zero exit status for package installation

2019-01-05 Thread William Dunlap via R-help
equently, are conserned (survey, lme4, effects) > > best, winfried > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help

[R] data frame transformation

2019-01-06 Thread Andras Farkas via R-help
) datatransfer<-data.frame(datatransfer,apply(datatransfer[2],2,function(x) ifelse(x=="D",data$weight,NA))) datatransfer<-data.frame(datatransfer,apply(datatransfer[2],2,function(x) ifelse(x=="E",data$weight,NA))) colnames(datatransfer)<-c("id","weight&q

Re: [R] data frame transformation

2019-01-07 Thread Andras Farkas via R-help
keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, Jan 6, 2019 at 5:16 AM Andras Farkas via R-help wrote: Hello Everyone, would you be able to assist with some expertise on how to get the following done

Re: [R] Merge the data from multiple text files

2019-01-07 Thread Priya Arasu via R-help
> TF.and <- lapply(TF.list, paste, collapse=" and ") > TF.final <- lapply(names(TF.and), function(x) paste(x, "=", TF.and[[x]])) > TF.final <- do.call(rbind, TF.final) > TF.final     [,1]                          [1,] "A = (D and E) and not(B or C)&quo

Re: [R] Fit CMARS with R possible (Packages) ?

2019-01-07 Thread varin sacha via R-help
any R > software.  Maybe you can do better. > > -- 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 County" comic strip

[R] mgcv : 3-way interaction and 3D-plots ?

2019-01-07 Thread varin sacha via R-help
;ISLR") library(ISLR) install.packages("mgcv") library(mgcv) mod1<-gam(wage ~education+s(age,bs="ps")+year+te(age,year,bs="ps")+s(year,bs="ps",by=education,m=1)+te(year,age,by=education,bs=rep("ps",2)),data=Wage) plot(mod1) #

[R] Why does R do this?

2019-01-08 Thread Nick Wray via R-help
ly leave the host set unchanged if there are no elements to take out? Any thoughts? Thanks, Nick Wray [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-h

Re: [R] Why does R do this?

2019-01-08 Thread Thierry Onkelinx via R-help
f data. ~ John Tukey /// <https://www.inbo.be> Op di 8 jan. 2019 om 10:29 schreef Nick Wray via R-help < r-help@r-project.org>: > y<-c(1,2,3) > z<-which(y>3) > z > y<-y[-z] > y > > In the work I'm doing I often have this

Re: [R] Question

2019-01-08 Thread Marc Schwartz via R-help
t;> >>> I have got a problem during working with some package in R and in spite >> of >>> trying with R help, internet and any other resources I could not succeed. >>> Indeed when I what to install some function like bwplot, boxplot, xyplot >> I >>>

[R] Running list of drugs taken and dropped (via Reduce and accumulate = TRUE or by other means)

2019-01-10 Thread Paul Miller via R-help
, x2) paste(x1, x2, sep = ", "), drug, accumulate = TRUE),     dropped = Reduce(function(x1, x2) paste(x1, x2, sep = ", "), drug, accumulate = TRUE)   ) ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://s

Re: [R] Diff'ing 2 strings

2019-01-10 Thread William Dunlap via R-help
gt; function. It is meant for diff'ing R output. > > > ----- Original Message - > From: "Jeff Newmiller" > To: r-help@r-project.org, "Sebastien Bihorel" < > sebastien.biho...@cognigencorp.com>, "Martin Møller Skarbiniks Pedersen" < >

Re: [R] mgcv : 3-way interaction and 3D-plots ?

2019-01-12 Thread varin sacha via R-help
C, data=mydata,        groups=A,        panel=panel.bwplot.superpose, ## take control of colors of the boxes        horizontal=FALSE,        between=list(x=1, y=1)) ) On Mon, Jan 7, 2019 at 7:59 PM David Winsemius wrote: > > On 1/7/19 3:35 PM, varin sacha via R-help wrote: >> Dear R-experts

[R] Visreg package : Legend to large and 3 ways-interactions possible ?

2019-01-12 Thread varin sacha via R-help
,m=1)+te(year,age,by=education,bs=rep("ps",2)),data=Wage) visreg(mod1, "year", by="education",partial=FALSE,overlay=TRUE) #   __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://st

[R] Extrapolate x values from a defined y sequence

2019-01-14 Thread lionel sicot via R-help
i'm pretty sure that there is an elegant way to do it with R. It will be very kind if someone can give me some R functions to do it.Thanks in advance,Ptit Bleu. [[alternative HTML version deleted]] ______ R-help@r-project.org maili

Re: [R] loading the xlsx library

2019-01-14 Thread William Michels via R-help
__ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Kaplan-Meier plot

2019-01-17 Thread Marc Schwartz via R-help
s ";" >> >> dput (mydata, "dputmydata.r") >> #attached >> >> Y <- Surv (mydata$time, mydata$status == 2) >> # 2 -- encodes event >> >> km <- survfit (Y~mydata$stage) >> >> plot (km)

[R] Prediction model in Shiny App

2019-01-21 Thread Elahe chalabi via R-help
inFile$datapath, header=input$header, sep=input$sep, dec = input$dec) return(tbl) }) pred=reactive({predict(model,tbl())}) output$Pred <- renderPrint(pred()) } > > shinyApp(ui=ui,server=server) so I want to read the .csv file, give it t

[R] read_xl question

2019-01-23 Thread Thomas Subia via R-help
Subia Thomas Subia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guid

Re: [R] TIme Zone error

2019-01-26 Thread William Dunlap via R-help
I found > "Asia/Calcutta" available. > > I idea why R failed to set timezone properly? > > Thanks for your time. > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/

[R] duplicates including first occurrence

2019-01-28 Thread Knut Krueger via R-help
0 158 Kind regards Knut __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

Re: [R] [FORGED] Newbie Question on R versus Matlab/Octave versus C

2019-01-28 Thread William Dunlap via R-help
switched to C, and used its "struct" declaration and an array of > structs to model the population. This allowed the program to complete in > under a minute as opposed to 24 hours+. So in line with your comments, C > is far more efficient than Octave. > > How do you think

[R] create a network for a small text df

2019-01-30 Thread Elahe chalabi via R-help
class = "factor")), class = "data.frame", row.names = c(NA, -7L)) So far I have tried plotting each row a a network as following: library(igraph) net=graph(c("account","block","block","solve","solve","probl

[R] periodicity

2019-01-30 Thread Nick Wray via R-help
tive HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] periodicity

2019-01-30 Thread William Dunlap via R-help
Search with https://rseek.org Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Jan 30, 2019 at 11:17 AM Nick Wray via R-help wrote: > I've found references on websites to an R function "periodicity", but > there's no such built-in function as far as I can see in

Re: [R] periodicity

2019-01-30 Thread Marc Schwartz via R-help
eek.org didn't turn anything up. It would help to > know what websites you're referring to - they might be loading custom > code. > > Sarah > > On Wed, Jan 30, 2019 at 2:17 PM Nick Wray via R-help > wrote: >> >> I've found references on websites to

Re: [R] periodicity

2019-01-30 Thread William Dunlap via R-help
7;t turn anything up. It would help to > know what websites you're referring to - they might be loading custom > code. > > Sarah > > On Wed, Jan 30, 2019 at 2:17 PM Nick Wray via R-help > wrote: > > > > I've found references on websites to an R function "

[R] nlme::gls potential bug

2019-01-31 Thread Andy Beet via R-help
Thanks Andy -- Andy Beet Ecosystem Dynamics & Assessment Branch Northeast Fisheries Science Center NOAA Fisheries Service 166 Water Street Woods Hole, MA 02543 tel: 508-495-2073 [[alternative HTML version deleted]] ______ R-help@r-project.org m

Re: [R] create a network for a small text df

2019-02-01 Thread Elahe chalabi via R-help
ing all the relations in one single plot On Thursday, January 31, 2019 3:24 PM, Bill Poling wrote: Hello Elahe, this probably does not help but my idea may move you forward? # NEW TOPIC ######

[R] load.wave q

2019-02-01 Thread Nick Wray via R-help
Please delete my last question as I have worked out what is going on myself Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] load.wave

2019-02-02 Thread Nick Wray via R-help
these elements actually stand for? I would have thought that one needed as a minimum both volume and frequency ie a two dimensional vector but as far as I can tell there is only one single vector. I'm aware that this question is pushing the envelope of R help but... Thanks,

[R] (no subject)

2019-02-02 Thread malika yassa via R-help
ted]] __ 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] Why is there error in as.POSIXlt.character when using strftime()?

2019-02-02 Thread William Dunlap via R-help
12/15 16:51", "7/12/15 17:35", "7/12/15 17:59", "7/12/15 18:17", > "7/12/15 19:07", "7/12/15 19:08", "7/12/15 19:31", "7/12/15 21:21", > "7/13/15 10:01", "7/13/15 10:03", "7/13/15 10:05",

[R] list with list function

2019-02-04 Thread Andras Farkas via R-help
moving it from listA.  these lists listA and listB in practice are columns of a data frame that I am trying to work with and were generated with a function using lapply... appreciate any thoughts you may have to make this functional... thanks, Andras  ____

Re: [R] list with list function

2019-02-05 Thread Andras Farkas via R-help
Thanks Rui and Ivan, works perfectly... Andras On Monday, February 4, 2019, 4:18:39 PM EST, Rui Barradas wrote: Hello, Like this? Map('[', listA, lapply(listB, '*', -1)) Hope this helps, Rui Barradas Às 21:01 de 04/02/2019, Andras Farkas via R-help escrev

Re: [R] data.frame() versus as.data.frame() applied to a matrix.

2019-02-05 Thread William Dunlap via R-help
re natural for converting > a matrix to a data frame, yet it doesn't get it quite right, sometimes, > in respect of the names. > > Is there some reason that as.data.frame() does not apply make.names()? > Or was this just an oversight? > > cheers, > > Rolf Turner > > -- > Honorary Research Fellow > Dep

Re: [R] Difficulty with "\\" in string functions....

2019-02-11 Thread William Dunlap via R-help
t; > \\ > > ## str_split(fname, "") > > [[1]] > > [1] "D:" > > [2] "Data" > > [3] "OneDrive" > > [4] "ISTA Documents" > > [5] "QT_App" > > [6] "QT AnalysisInput Data Example WorkB

[R] Define semi landmarks in 2d GMM data

2019-02-12 Thread azadeh mohaseb via R-help
define.sliders but I can only choos one semi landmark between two landmarks. Is there any other solution which is more simple? Could you please help me with this? Thanks in advanceAzadeh Mohaseb   [[alternative HTML version deleted]] __ R-help@r

Re: [R] Finding the Mean of a Specific Set of Columns

2019-02-14 Thread Marc Schwartz via R-help
N = mean) plot lai 1 104 243.4 2 105 211.6 3 106 223.4 4 108 212.0 Regards, Marc Schwartz __ 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] POSIXlt class and lapply

2019-02-14 Thread William Dunlap via R-help
SIXlt(Sys.Date()), length) > [[1]] > [1] 1 > > > Is this change in behaviour intentional? > > Realistically, I cannot see anything documented to say that `lapply` > should behave as per R-3.3.1 on a `POSIXlt` object, so it is/was perhaps > unwise to rely on it. > > &g

[R] R help

2019-02-14 Thread Gouresh Kamble via R-help
find the data. I keep getting stuck on how to create specific characters for the table. Kind Regards, Gouresh Kamble __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Save creates huge files, dump doesn't

2019-02-19 Thread William Dunlap via R-help
ot;gates","populations","cg", > >"genelists","colorscores", "proj", "actds"),file=fname) > >solved the problem, output was then only 10s of kB. > >(Why/when) is this behavior intended? > >Best wishes, >

Re: [R] Save creates huge files, dump doesn't

2019-02-20 Thread William Dunlap via R-help
is command became several hundred MBs big... even thought the >> >cumulative size of all objects in memory after load() is in the 10s of >> >kB. >> >Changing to >> >dump(list=c("plots","gates","populations","cg", >>

Re: [R] Save creates huge files, dump doesn't

2019-02-20 Thread William Dunlap via R-help
t;this was all working fine until some time ago (?!?) files created by > >> >this command became several hundred MBs big... even thought the > >> >cumulative size of all objects in memory after load() is in the 10s of > >> >kB. > >> >Changing to > >> >dump(list=c("plots",&quo

Re: [R] matrix subset problem with factors

2019-02-20 Thread Marc Schwartz via R-help
F-8LC_MESSAGES=en_GB.UTF-8 > [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base >

[R] reduce and intersect question (maybe)?

2019-02-21 Thread Andras Farkas via R-help
ce the common rows are identified I would want to subset the data frames to get these results: a[c(1,3),] b[c(1,3),] c[c(1,3),] d[c(1,3),] much appreciate your input, thanks Andras  __ 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] reduce and intersect question (maybe)?

2019-02-21 Thread Andras Farkas via R-help
Works well! Thanks! Andras  On Thursday, February 21, 2019, 8:47:51 AM EST, Jeff Newmiller wrote: Use ?merge instead of intersect. On February 21, 2019 5:22:46 AM PST, Andras Farkas via R-help wrote: >Hello All, > >wonder if you have a suggestion for the following: >

Re: [R] Obtaining values of estimates from a regression; How do I get values from a list?

2019-02-22 Thread Marc Schwartz via R-help
Biostatistics and Informatics >> University of Maryland School of Medicine Division of Gerontology and >> Geriatric Medicine >> Baltimore VA Medical Center >> 10 North Greene Street >> GRECC (BT/18/GR) >> Baltimore, MD 21201-1524 >> (Phone) 410-605-7119 &

[R] Cannot reproduce tutorial results

2019-02-22 Thread Jason Hernandez via R-help
- Data Analysis Part 1 Part 1 in a in-depth hands-on tutorial introducing the viewer to Data Science with R programming. The video prov... | | | [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Newton-RaphsonMethod

2019-02-24 Thread malika yassa via R-help
mation please can you help me? [[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] Ghost variables

2019-02-25 Thread William Dunlap via R-help
olumn: 'NDAfit'. > 7: Unknown or uninitialised column: 'NDAobs'. > > Joe Lucke > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailm

[R] Second attempt: Cannot reproduce tutorial results

2019-02-25 Thread Jason Hernandez via R-help
7;sort' on a list? If I try changing the as.factor to as.vector, I get Error in `$<-.data.frame`(`*tmp*`, title, value = list(function (main = NULL, : replacement has 2 rows, data has 1309 I have checked and rechecked my code, and it is identical to Langer's. What is wrong here? __

Re: [R] Second attempt: Cannot reproduce tutorial results

2019-02-25 Thread William Dunlap via R-help
Do you see anything wrong with this line? titles <- c(title, extractTitle(data.combined[i, "name"])) } Hint - plural or singular? Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Feb 25, 2019 at 11:38 AM Jason Hernandez via R-help < r-help@r-project.org> wrote: &g

Re: [R] Which dependency list to build first?

2019-02-27 Thread William Dunlap via R-help
ects required by > > `/usr/lib/R/library/later/libs/later.so` using ldd ? > > Because later was removed and could not be rebuilt, there is no later.so to > be queried for dependencies. > > I'll look again at later's dependencies and ensure they're all rebuilt. &

Re: [R] Which dependency list to build first?

2019-02-27 Thread William Dunlap via R-help
later.so: undefined symbol: > __atomic_fetch_add_8 > Error: loading failed > Execution halted > ERROR: loading failed > > The later package was installed so why it's not updating now puzzles me. > I'm > running R-3.5.2 on Slackware-14.2. > > Regards, > >

Re: [R] Which dependency list to build first?

2019-02-27 Thread William Dunlap via R-help
installing help indices > ** building package indices > ** installing vignettes > * DONE (later) > > Is it worth exploring why testing loading failed here for this package? > > Best regards, > > Rich > > __ > R-help@r-pro

Re: [R] Which dependency list to build first?

2019-02-27 Thread William Dunlap via R-help
0 Dec 23 10:00 /usr/lib/R/lib/libR.so* > > Should I rebuild and reinstall R-3.5.2? > > Thanks again, > > Rich > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-h

Re: [R] inverse of which()

2019-02-27 Thread William Dunlap via R-help
better way to do this? > > Thanks > -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

[R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
of libreadlines6. Ubuntu reports that the up-to-date version of libreadlines7. Should I consider this an R issue or an Ubuntu issue? In any case, has anyone encountered the problem and beaten it? Thanks __ R-help@r-project.org mailing list -- To UNSUBSCR

Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
many ppa's to your system, which can lead to package conflicts. Unfortunately in that case it's hard for people to help you remotely, since we don't know what you've done to your system. Best, Ista On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help wrote: > > >  NO

Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
R or ubuntu. My guess is that you've been reading too many > blog posts and adding too many ppa's to your system, which can lead to > package conflicts. Unfortunately in that case it's hard for people to > help you remotely, since we don't know what you've done

Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
Best, Ista On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help wrote: > > >  NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an >incorrect header. > > To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at > https://www.r-bloggers.com

<    9   10   11   12   13   14   15   16   17   18   >