[R] Information

2018-02-08 Thread Kabouch Nourdine via R-help
]   NA .    . .    . .    . 2-m = t(matrix(data = detrend, nrow = 30)) seasonal = colMeans(m, na.rm = T) Error in colMeans(m, na.rm = T) : 'x' doit être numérique=" 'x' must be numeric" [[alternative HTML version deleted]] _______

[R] Fleming-Harrington weighted log rank test

2018-02-13 Thread array chip via R-help
eming-Harrington weights.  My question is how I can do the same by setting certain values for "rho" in the regular survival() function? Thank you, John __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

Re: [R] help with the plot overlay

2018-02-14 Thread Fix Ace via R-help
arpos$x[1],barpos$x[1],barpos$x[3],barpos$x[3]),c(4,66,66,65)) text(2,68,"**",cex=2) text(2.5,64.5,"**",cex=2) Jim On Mon, Feb 5, 2018 at 8:56 AM, Fix Ace via R-help wrote: > Dear R Community, > I recently read an article and found a plot as attached. It has scatterplo

Re: [R] using cat to log to file with sapply

2018-02-14 Thread William Dunlap via R-help
("++test=",...) > } > sapply(x, function(x) testit(x, logfile=logf)) > > Any suggestions appreciated. > > Thanks > Herry > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listin

[R] Codes to conduct network meta-analysis, gemtc package

2018-02-15 Thread shaju jacob via R-help
probabilities Rank probabilities plot (rankogram)  Network plots  The manual by Gert van Valkenhoef is difficult for me to understand and comprehend. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

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

2018-02-15 Thread array chip via R-help
Thank you David! On Wednesday, February 14, 2018, 6:05:46 PM PST, David Winsemius wrote: > 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, >> >

[R] SE for all levels (including reference) of a factor atfer a GLM

2018-02-15 Thread Marc Girondot via R-help
.07063113  0.4541962 6.507023e-01 # Then I try to change the order of factors, for example: df$B[df$B=="0"] <- "3" g <- glm(a ~ b, data=df) summary(g)$coefficients By I get the same... Any idea ? Thanks Marc __ R-help@r-p

Re: [R] Codes to conduct network meta-analysis, gemtc package

2018-02-15 Thread shaju jacob via R-help
://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis Best, Wolfgang >-Original Message- >From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Bert >Gunter >Sent: Thursday, 15 February, 2018 16:49 >To: shaju jacob >Cc: R-help >Subject: Re: [R] Codes to conduct network

[R] All Language Translation Solution !!

2018-02-15 Thread Tanya Goyal via R-help
BB Ltd, Posco, TOYO, Sulzer, Emerson, TATA, Petrofac, BHEL, Siemens Ltd, Larsen & Toubro. Thanks & Regards, Tanya Goyal Dept.-Tr & In [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUB

Re: [R] [FORGED] Re: SE for all levels (including reference) of a factor atfer a GLM

2018-02-16 Thread Marc Girondot via R-help
raint is that beta_1 = 0. ...and consequently, being a constant, has an s.e. of 0. It makes sense ! Thanks for the precision ! Marc ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

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

2018-02-16 Thread array chip via R-help
ng), and he was only using 1 parameter.  Later he and David expanded the test to two parameters.  This might be only the second request for the feature in the 30+ years since that date.    Terry Therneau [[alternative HTML version deleted]] ____

Re: [R] deparseDots to get names of all arguments?

2018-02-20 Thread William Dunlap via R-help
eworks/Accelerate.framework/Versions/A/ > Frameworks/vecLib.framework/Versions/A/libBLAS.dylib > LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/ > libRlapack.dylib > > locale: > [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 > > attached ba

Re: [R] change location of temporary files

2018-02-23 Thread William Dunlap via R-help
temp files in the internal HD. > > Thanks in advance, > Kumar Mainali > > -- > Postdoctoral Associate > Department of Biology > University of Maryland, College Park > ᐧ > > [[alternative HTML version deleted]] > > ___

Re: [R] include

2018-02-24 Thread William Dunlap via R-help
lace by 0 > > > 2. value that are in COl2 and Col3 should be included in col1 before > > > they appear > > > in col2 and col3. So the output data looks like as follow, > > > > > > X1 0 0 > > > Y1 0 0 > > > W1 0 0 > > > Z2

Re: [R] include

2018-02-24 Thread William Dunlap via R-help
chr [1:2] "C" "E" ' > x1 <- (2:5) + 1i * (5:2) > x2 <- x1[ Mod(x1) == 5 ] <- c(17L, 19L) > str(x1) cplx [1:4] 2+5i 17+0i 19+0i ... > str(x2) int [1:2] 17 19 Bill Dunlap TIBCO Software wdunlap tibco.com On Sat, Feb 24, 2018 at 3:04 PM, Dunc

[R] R 3.4.4 scheduled for March 15

2018-02-26 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

Re: [R] Precision in R

2018-02-26 Thread William Dunlap via R-help
> y=0 > > for (i in 1:10) {y=sum(y+x[i])} > > y > [1] 0.99989 > > y*10^6 > [1] 99.988 > > sum(x)*10^6 > [1] 1e+06 > > z=.1+.1+.1+.1+.1+.1+.1+.1+.1+.1 > > z > [1] 0.99989 > > > > ______

Re: [R] Random Seed Location

2018-02-26 Thread William Dunlap via R-help
output > the > > confusion matrix. > > > > > confMtr <- confusionMatrix(pred,unlist(InvestTechVal[, 3]),mode = > > “everything”, positive = “1”) > > > accuracy <- confMtr$overall[1] > > > valError <- 1 – accuracy > > > confMtr > >

Re: [R] how to make row.names based on column1 with duplicated values

2018-03-01 Thread William Dunlap via R-help
,"c","d","c","f"),value=c( > 20,300,48,55,9,2,100,200)), > > I want to set column "gene" as row.names, but there are duplicates (c, d), > which I want to transform into this as row names: a, b, c-1, d-1, c-2, d-2, > c-3, f > > Many thanks!

[R] KK transform - Kramers-kronig relations

2018-03-01 Thread Cleber N.Borges via R-help
/antivirus [[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

[R] Desktop.ini hiddeln file creates during compilaiton

2018-03-02 Thread michael tsagris via R-help
or ideas? [[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

[R] Σχετ: Desktop.ini hiddeln file creates during compilaiton

2018-03-02 Thread michael tsagris via R-help
g/web/packages/reprex/index.html (read the vignette) [4] http://stat.ethz.ch/mailman/listinfo/r-package-devel [5] https://github.com/RcppCore/Rcpp/issues -- Sent from my phone. Please excuse my brevity. On March 2, 2018 10:50:54 AM PST, michael tsagris via R-help wrote: >Hello, I am experienc

[R] Σχετ: Desktop.ini hiddeln file creates during compilaiton

2018-03-03 Thread michael tsagris via R-help
-devel [5] https://github.com/RcppCore/Rcpp/issues -- Sent from my phone. Please excuse my brevity. On March 2, 2018 10:50:54 AM PST, michael tsagris via R-help wrote: >Hello, I am experiencing some difficult time with my R package. Every >time I compilei it a hidden file, desktop.ini, is bei

[R] Problem with Rd2.tex tduring compilation

2018-03-05 Thread michael tsagris via R-help
Hello, I am receiving this message when uploading my R package to rdevel. https://win-builder.r-project.org/incoming_pretest/180305_110240_Compositional_29/00check.log Can anybody please help? [[alternative HTML version deleted]] __ R-help@r

[R] Σχετ: Problem with Rd2.tex tduring compilation

2018-03-05 Thread michael tsagris via R-help
one separately with R CMD Rd2pdf yourfilenamehere.Rd and see what happens. There is a list especially for package developers which might be better in future. Michael On 05/03/2018 10:51, michael tsagris via R-help wrote: > Hello, I am receiving this message when uploading my R package to rde

[R] Σχετ: Σχετ: Problem with Rd2.tex tduring compilation

2018-03-05 Thread michael tsagris via R-help
and see what happens. > > There is a list especially for package developers which might be better > in future. > > Michael > > On 05/03/2018 10:51, michael tsagris via R-help wrote: >  > Hello, I am receiving this message when uploading my R package

[R] package installation

2018-03-06 Thread Kabouch Nourdine via R-help
folder. [[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

Re: [R] Capturing warning within user-defined function

2018-03-06 Thread William Dunlap via R-help
grp") > [1] 0 >counts Group1 LL UL V5 > counts315 2.364636e-12 2.002372e-12 2.792441e-12 No warnings > Warning messages: > 1: glm.fit: algorithm did not converge > 2: glm.fit: algorithm did not converge > 3: glm.fit: algorithm di

Re: [R] Capturing warning within user-defined function

2018-03-06 Thread William Dunlap via R-help
== 0) { msg <- "No warnings" } > > if (ind > 0) {msg <- names(warnings()) } > > overall[1,5] <- msg > > > > print(overall) > > > > } > > > > Here's the output from running the function: > > > > > est("grp") >

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

2018-03-07 Thread Marc Girondot via R-help
__ 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 afsender om fejlen ved at bruge svarfunktionen. Samtidig bedes du slette e-mailen med det samm

Re: [R] Equivalent of gtools::mixedsort in R base

2018-03-12 Thread William Dunlap via R-help
ated in 2.5 years > > Are you aware of an equivalent of this function in base R or a another > contributed package (with correction of problem #1)? > > Thanks > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://s

Re: [R] Bug report: override stopifnot() ?

2018-03-12 Thread William Dunlap via R-help
package Matrix, I would be happy > to insert this report there.) > > Thank you very much for the package, > Stepan Kasal > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mai

[R] ggplot and boxplots

2018-03-12 Thread Yectli Huerta via R-help
_ggplot,aes(factor(V2),V3))+geom_boxplot() > +facet_wrap(~as.factor(V1)) I don't seem to figure out what is wrong with the ggplot command I'm using. I attached a png with the generated plot thanks, yh______ R-help@r-project.org mailing list --

Re: [R] Possible Improvement to sapply

2018-03-13 Thread William Dunlap via R-help
rious real data to verify that the > objects produced under both variants of the sapply (base R and my modified) > yield identical objects when simply is both TRUE or FALSE. > > Perhaps someone else sees a counterexample where my proposed fix does not > cause for sapply to behave a

Re: [R] Possible Improvement to sapply

2018-03-13 Thread William Dunlap via R-help
r...@roswellpark.org] > Sent: Tuesday, March 13, 2018 9:43 AM > To: Doran, Harold ; 'r-help@r-project.org' < > r-help@r-project.org> > Subject: Re: [R] Possible Improvement to sapply > > > > On 03/13/2018 09:23 AM, Doran, Harold wrote: > > While wo

Re: [R] ggplot and boxplots

2018-03-13 Thread Yectli Huerta via R-help
uot;, "Enabled", "Enabled"), > > V3=681:686) > thanks for the explanation and solution. yah __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Warning for LC_CTYPE when R is ran through ssh

2018-03-14 Thread Marc Girondot via R-help
mplicity [1] "en_US.UTF-8" [Previously saved workspace restored] > print(1) [1] 1 Has someone a solution to not get this warning when a code is ran through ssh ? Thanks Marc Girondot __ R-help@r-project.org mailing list -- To UNSU

[R] R 3.4.4 is released

2018-03-15 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 ht

[R] cubic complete Scheffe mixture models

2018-03-15 Thread Cleber N.Borges via R-help
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] R 3.5.0 scheduled for April 23

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

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

2018-03-21 Thread William Dunlap via R-help
do not read, copy, forward, > or store this message unless you are an intended recipient of it. If you > have received this message in error, please forward it to the sender and > delete it completely from your computer system. > > -- > Questo messaggio stato analizzato

Re: [R] R 3.4.4, internet access fails on Windows XP

2018-03-21 Thread Marc Girondot via R-help
ecent Windows version, your choices are switching to a completely different OS, or switching to an older version of R. Duncan Murdoch __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] GlobalEnv error

2018-03-22 Thread William Dunlap via R-help
bject ‘fit.treebag’ > > [[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] GlobalEnv error

2018-03-22 Thread William Dunlap via R-help
ject ‘p’ >>> Warning: namespace ‘easyGgplot2’ is not available and has been replaced >>> by .GlobalEnv when processing object ‘plot’ >>> Warning: namespace ‘RSNNS’ is not available and has been replaced >>> by .GlobalEnv when processing object ‘fit.mlp’ >>> W

[R] Limit in Directory Hierarchy?

2018-03-25 Thread WRAY NICHOLAS via R-help
/Mussel Mar 18") I can't see why it won't do this if there isn't a hierarchy level limit but I can't find reference to one on the net Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project

[R] can not install package "matie"

2018-03-28 Thread varin sacha via R-help
2-21  MASS_7.3-48    [46] assertthat_0.1 colorspace_1.2-7   KernSmooth_2.23-15 lazyeval_0.2.0 munsell_0.4.3      __ 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] can not install package "matie"

2018-03-30 Thread varin sacha via R-help
e my brevity. On March 28, 2018 3:38:27 PM PDT, Duncan Murdoch wrote: >On 28/03/2018 6:27 PM, varin sacha via R-help wrote: >> Dear R-experts, >> >> I can not install the package "matie". If somebody can tell me where >the problem is. >> >>>

[R] Fast tau-estimator line does ot appear on the plot

2018-03-31 Thread varin sacha via R-help
Dataset,tau=0.5) abline(L1,col="blue")   install.packages("RobPer") library(RobPer) FastTau(Z,Y) fast=FastTau(Z,Y) abline(fast, col="yellow") ##   ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s

Re: [R] Fast tau-estimator line does ot appear on the plot

2018-03-31 Thread varin sacha via R-help
Many thanks Duncun, Best, Le samedi 31 mars 2018 à 18:05:53 UTC+2, Duncan Murdoch a écrit : On 31/03/2018 11:57 AM, varin sacha via R-help wrote: > Dear R-experts, > > Here below my reproducible R code. I want to add many straight lines to a > plot using "ablin

Re: [R] Fast tau-estimator line does not appear on the plot

2018-04-06 Thread varin sacha via R-help
t;) legend("topright",c("OLS", "L1", "Huber M-estimator", "Tukey", "MM", "fast tau"),inset=0.02,lwd=2,col=c("black","blue","red","purple","green", "yellow"),cex=.9)} ##

Re: [R] Fast tau-estimator line does not appear on the plot

2018-04-08 Thread varin sacha via R-help
a as slope   abline( fast$beta, col="yellow" )   legend( "topright"         , c( "OLS"             , "L1"             , "Huber M-estimator"             , "Tukey"             , "MM"             , "fast tau"             )      

Re: [R] convert numeric variables to factor

2018-04-09 Thread William Dunlap via R-help
n R. > > > > Please to covert the variables. > > > > Thanks and Regards > > > > Abu Afzal > > PhD Eco > > JNU > > India > > __ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se

[R] Fail to save an object using name as string

2018-04-09 Thread Marc Girondot via R-help
But I don't understand what is the difference between "Var_2000" and paste0("Var_", year) as both produced the same output. Thanks for your help, Marc R Under development (unstable) (2018-03-23 r74448) -- "Unsuffered Consequences" Copyright (C) 2018 The R Founda

Re: [R] Spectral analisys for for R version 3.4.3

2018-04-10 Thread William Dunlap via R-help
ty doesn't work in this version. > Regards > > Danniel > > > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/li

Re: [R] WGCNA package installation segmentation fault

2018-04-12 Thread William Dunlap via R-help
** caught segfault *** > address (nil), cause 'unknown' > An irrecoverable exception occurred. R is aborting now ... > ERROR: loading failed > * removing ‘/u/home/p/plangfel/R/x86_64-pc-linux-gnu-library/3.3/WGCNA’ > * restoring previous > ‘/u/home/p/plangfel/R/x86_64-pc-

Re: [R] WGCNA package installation segmentation fault

2018-04-12 Thread Christina Oliynik via R-help
s if you pass the safe check. Don't be lazy my new friend you can easily do this.I'm sure you get that by now. Can you go there and call me now you ready to make me cum now? __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s

Re: [R] WGCNA package installation segmentation fault

2018-04-12 Thread Christina Oliynik via R-help
I am waiting for ur positive  response. ______ 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] WGCNA package installation segmentation fault

2018-04-12 Thread Christina Oliynik via R-help
you can call me right now after passing it. Am really so weet now, cant wait to take your gun inside. If you feel interest about me than get verified and call me or pick me. ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s

Re: [R] Fwd: R Timeseries tsoutliers:tso

2018-04-13 Thread William Dunlap via R-help
ts(inputData[,1], frequency = tsFrequency) > ts_outlier <- tso(ts.var, types = > ​outlier.types ​ > , maxit = 1) > > ​ > > This piece of code runs in about 60 seconds on my laptop but take about > upward of 13 mins on a decent AWS node with nothing else running on it. &g

[R] Reading xpt files into R

2018-04-13 Thread WRAY NICHOLAS via R-help
ng with an SAS xport file header means either... If anyone can explain how I can read this xpt file into R I'd be v grateful Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

[R] cvTools for 2 models not working

2018-04-13 Thread varin sacha via R-help
5, cost=rtmspe, K=5, R=100) cvFit(FastTau(model.matrix(~X+Z),Y),cost=rtmspe,K=5,R=100) cvFit(hbrfit,formula=Y ~ X + Z, cost=rtmspe, K=5, R=100) ##   ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https:/

Re: [R] Bivariate Normal Distribution Plots

2018-04-13 Thread Marc Girondot via R-help
(x[i]-xrange[1])/(xrange[2]-xrange[1]))   posy <- 1+floor(127*(y[i]-yrange[1])/(yrange[2]-yrange[1]))   n[posx, posy] <- n[posx, posy]+1 } image.plot( legend.only=TRUE,     zlim= c(0, max(n)), nlevel=128,         col=colorRampPalette(c("white", blues9))(128))

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

2018-04-14 Thread WRAY NICHOLAS via R-help
Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEA

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

2018-04-14 Thread William Dunlap via R-help
/fdd000464.shtml Bill Dunlap TIBCO Software wdunlap tibco.com On Sat, Apr 14, 2018 at 12:18 PM, WRAY NICHOLAS via R-help < r-help@r-project.org> wrote: > > Original Message -- > From: WRAY NICHOLAS > To: peter dalgaard > Date: 14 April 2018 at 20:18 >

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

2018-04-14 Thread William Dunlap via R-help
CO Software wdunlap tibco.com On Sat, Apr 14, 2018 at 1:30 PM, David Winsemius wrote: > > > On Apr 14, 2018, at 12:18 PM, WRAY NICHOLAS via R-help < > r-help@r-project.org> wrote: > > > > > > Original Message -- > > From: WRAY NICHOLA

Re: [R] Syntax roccomp-using R

2018-04-15 Thread John Kane via R-help
. The R-help list does not accept HTML files nor embedded images so your text is garbled and none of the images are coming through. Your two attached pdf files are coming through but  are useless without a readable message. Two key elements in posting are: Alway post in plain text and provide

Re: [R] Specifying forbidden configurations in Morris One at a Time (OAT) sensitivity analysis

2018-04-15 Thread John Kane via R-help
    [[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,

Re: [R] Question

2018-04-15 Thread Marc Girondot via R-help
ea about what it is ! https://en.wikipedia.org/wiki/Breakdown_(1997_film) Sincerely 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

[R] Inverse Gaussian distribution not working in glm funciton

2018-04-16 Thread michael tsagris via R-help
this bug, in some next update of R? Michail [[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

[R] Problem with regression line

2018-04-18 Thread CHATTON Anne via R-help
hat's wrong with the codes ? I would appreciate very much. Thanks for any help. Anne [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-he

Re: [R] Problem with regression line

2018-04-18 Thread CHATTON Anne via R-help
2018 16:08 À : CHATTON Anne; r-help@R-project.org Objet : Re: [R] Problem with regression line Hi, Anne, assign Age and Bloodpressure in the correct order to the axes in your call to plot as in: plot(y = Age, x = BloodPressure) abline(SimpleLinearReg1) Hth -- G

[R] Identifying columns with specific character

2018-04-18 Thread Farnoosh Sheikhi via R-help
ot;, x)}) works but it turns all the columns to a factor. 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 read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] R Identifying columns with specific character

2018-04-19 Thread Julia Cabrera via R-help
Farnoosh I want to start by appreciating your reply. Thank you so much. I am waiting to know your plan why not give me pic [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

[R] Further questions

2018-04-20 Thread CHATTON Anne via R-help
tting a hyperplan for a multiple regression and here I am really stuck... inc <- c(25000, 28000, 17500, 3, 25000, 32000, 3, 29000, 26000, 4) age <- c(60, 36, 21, 35, 33, 43, 29, 45, 41, 48) educ <- c(12, 12, 13, 16, 16, 12, 13, 15, 15, 20) MultLinearReg1 <- lm(inc ~ age + edu

[R] Cross-validation : can't get the predicted response on the testing data

2018-04-21 Thread varin sacha via R-help
a ypred=predict(fit,newdata=Testing) ypred=predict(HBR,newdata=Testing) # Get the true response from testing data y=BIO[-sam,]$D  # Get error rate RMSE=sqrt(mean((y-ypred)^2)) RMSE MAPE = mean(abs(y-ypred/y)) MAPE ______ R-help@r-project.org mailing list

[R] R 3.5.0 is released

2018-04-23 Thread Peter Dalgaard via R-help
unary - and + calls and creates code that can be reparsed exactly; thanks to a patch by Lionel Henry in PR#17397. (As a side effect, this uses fewer parentheses in some other deparsing involving ! calls.) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Busine

[R] Zero errors : Bug in my R code ?

2018-04-25 Thread varin sacha via R-help
d.values) fast <- FastTau(model.matrix(~newdata$bmi+newdata$glucose),newdata$crp) DMwR::regr.eval(newdata$crp,fast$fitted.values) HBR<-hbrfit(crp ~ bmi+glucose) DMwR::regr.eval(newdata$crp,HBR$fitted.values) ______ R-help@r-project.org mailing list -- To UNSUBSC

Re: [R] How would I color points conditional on their value in a plot of a time series

2018-05-01 Thread William Dunlap via R-help
"))) > > ## but I am missing something about time series. > > Thanks. > > --Chris Ryan > Broome County Health Department > and Binghamton University > Binghamton, NY > > [[alternative HTML version deleted]] > > __ > R-h

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

2018-05-02 Thread William Dunlap via R-help
nstitute of St. Michael's Hospital > Assistant Professor, Dalla Lana School of Public Health > University of Toronto > email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016 > > __ > R-help@r-project.org mailing list -- To

[R] GA/SWARM Hyperparameter (HP) Optimisation for Classification based Machine Learning

2018-05-03 Thread Alexander Gracian via R-help
rsion 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-cont

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

2018-05-03 Thread William Dunlap via R-help
data.frame(x = 5:6, y = 7:8) > ) > > dplyr::bind_rows(l, .id = "type") > #> type x y > #> 1A 1 3 > #> 2A 2 4 > #> 3B 5 7 > #> 4B 6 8 > > This also has the advantage of returning a data frame when the inputs > are data fra

[R] Pruning a dendrogram based on frequencies

2018-05-08 Thread Franklin Mairura via R-help
How can one prune a dendrogram (plot.dendrite, plotrix) based on a minimum level of frequencies?. Franklin.  [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman

[R] Average of results coming from B=100 repetitions (looping)

2018-05-08 Thread varin sacha via R-help
$D-Testing$pred)  MedAe <- median(Testing$abs_error) MedAe MedAeSQ <-median(Testing$sq_error) MedAeSQ lst[i]<-MedAe } lst mean(lst) lst$mean ##  ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https:/

Re: [R] Average of results coming from B=100 repetitions (looping)

2018-05-08 Thread varin sacha via R-help
Many thanks for all of you for your responses. Best Regards, SV Le mardi 8 mai 2018 à 21:58:37 UTC+2, Daniel Nordlund a écrit : On 5/8/2018 12:26 PM, varin sacha via R-help wrote: > >  Dear R-experts, > > Here below the reproducible example. I am trying to get the av

Re: [R] NAs produced by integer overflow, but only some time ...

2018-05-09 Thread William Dunlap via R-help
; > >What is even more puzzling is that one time I ran R in the console of > >Geany and this happened: > > > >> m1 > >[1] 61224 > >> 61224*61224 > >[1] 3748378176 > >> 61224^2 > >[1] 3748378176 > >> m1*m1 > >[1] NA > &

[R] Systemfit

2018-05-09 Thread ngwinui Azenui via R-help
[[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

[R] (no subject)

2018-05-10 Thread malika yassa via R-help
Hello Do You help me, i have the problem in the package DTDA for  find the probability of truncation  (alpha) thank you [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

[R] Modèle à Equations structurelles

2018-05-10 Thread yaya bamba via R-help
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] (no subject)

2018-05-10 Thread John Kane via R-help
We need some idea of the problem. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example http://adv-r.had.co.nz/Reproducibility.html On Thursday, May 10, 2018, 11:07:30 a.m. EDT, malika yassa via R-help wrote: Hello Do You help me, i have the

Re: [R] using for loop with data frames.

2018-05-10 Thread John Kane via R-help
below ? # selecting only 2 columns of interest for (1, 1:3) { df_selected [i] <- df_bs_id[i]  [ , c("column1", "column2")]  } Tks MMS     [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCR

Re: [R] Modèle à Equations structurelles

2018-05-10 Thread yaya bamba via R-help
also benefit from searching the CRAN Task Views - possibly the Psychometrics one might help you. If you want someone to send you code, as appears from your mail, you are out of luck on this list. Michael On 10/05/2018 15:50, yaya bamba via R-help wrote: > Bonjour, > Quelqu'un pourr

Re: [R] Pruning a dendrogram based on frequencies

2018-05-11 Thread Franklin Mairura via R-help
may be able to suggest a way to drop values in the "dendrite" object that is the input to plot.dendrite. I'll let you know. Jim On Tue, May 8, 2018 at 11:46 PM, Franklin Mairura via R-help wrote: > How can one prune a dendrogram (plot.dendrite, plotrix) based on a minimum >

Re: [R] (no subject)

2018-05-12 Thread malika yassa via R-help
had.co.nz/Reproducibility.html On Thursday, May 10, 2018, 11:07:30 a.m. EDT, malika yassa via R-help wrote: Hello Do You help me, i have the problem in the package DTDA for  find the probability of truncation  (alpha) thank you     [[alternative HTML version deleted]]

Re: [R] (no subject)

2018-05-12 Thread John Kane via R-help
ibility.html On Thursday, May 10, 2018, 11:07:30 a.m. EDT, malika yassa via R-help wrote: Hello Do You help me, i have the problem in the package DTDA for  find the probability of truncation  (alpha) thank you     [[alternative HTML version deleted]]

[R] (no subject)

2018-05-14 Thread malika yassa via R-help
t; > M_i = n.event > > L_t = res > > F_t=1-L_t                                    > > par(mfrow=c(1,1)) > > plot(L_t$time,L_t$survival,type="s",lty=2:3,lwd=2,las=1,cex.lab=1.1,font.lab=2,col="red",xlab="temps",ylab="L(t)", > &

Re: [R] Bilateral matrix

2018-05-16 Thread William Dunlap via R-help
101:115, current_location = structure(c(2L, > >> > 8L, 8L, 3L, 6L, 5L, 1L, 2L, 7L, 4L, 2L, 8L, 8L, 3L, 6L), .Label = > >> > c("Austin", > >> > "Boston", "Cambridge", "Durham", "Houston", "Lynn", "New Orleans", > >> > "New York&q

Re: [R] Installing an Archived Package

2018-05-16 Thread William Dunlap via R-help
d non-zero exit status > >>> install.packages("https://cran.r-project.org/src/ > contrib/Archive/polycor/polycor_0.7-8.tar.gz", repos=NULL, type="source") > >> Error in download.file(p, destfile, method, mode = "wb", ...) : > >> un

Re: [R] Convert a list of $NULL into multiple dataframes

2018-05-18 Thread John Kane via R-help
y hint? 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 read the posting guide http://www.R-project.org/posting-guide.html and pro

[R] Scale

2018-05-20 Thread Ed medicine via R-help
oglog", las=2) [[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] Loop Function to Create Multiple Scatterplots

2018-05-21 Thread John Kane via R-help
As Jim says, "No data". R-help is very fussy about what files it will accept.  You might try changing the extention to txt.  However the preferred way here is to use the dput() command and paste the results into the post.  See ?dput for details. On Monday, May 21, 2018, 1

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