[R] Adding loess lines subsetting to each panel in lattice plot

2016-08-12 Thread Juan Perez via R-help
Hello, I've created an xyplot and I want to add a loess line for x (Age)  <=40 and another for values >40. In a way it is similar to this https://stat.ethz.ch/pipermail/r-help/2009-May/390502.html but still not succcessful. This is my try: xyplot(MOE~Age|Species, groups=Site,  

Re: [R] Adding loess lines subsetting to each panel in lattice plot

2016-08-13 Thread Juan Perez via R-help
Breathed in his "Bloom County" comic strip ) On Fri, Aug 12, 2016 at 9:10 AM, Juan Perez via R-help wrote: > Hello, I've created an xyplot and I want to add a loess line for x (Age)  > <=40 and another for values >40. In a way it is similar to this > https://stat

Re: [R] Accessing an object using a string

2016-08-15 Thread William Dunlap via R-help
t; > object_list <- load(file = file_location, > > envir = .GlobalEnv) > > > > print(paste(length(object_list), "dataset(s) loaded from", > > file_location)) > > cat("\n") > > > > print("The follo

[R] Creating dummy variable using ifelse statement while you also retain NA's

2016-08-17 Thread Olu Ola via R-help
on 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] Creating dummy variable using ifelse statement while you also retain NA's

2016-08-17 Thread William Dunlap via R-help
on internally so character/factor data gets converted to dummy variables automatically. Using ifelse to make dummy variables is usually the hard way to do it. Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Aug 17, 2016 at 11:24 AM, Olu Ola via R-help wrote: > Hello,I am trying to crea

Re: [R] R Shiny convert into Java

2016-08-19 Thread Marc Girondot via R-help
app using R But i want to run those functions in Java without dependent of R Please help me on this anyone Thanks and Regards Venkatesan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

[R] problem concernig Survsplit, package survival

2016-08-19 Thread Vinzenz Völkel via R-help
Dear R-help-community, I hope, that�s the appropiate channel to post a quastion? For some days I have been struggling with a problem concerning the �survSplit�-function of the package �survival�. Searching the internet I have found a pretty good -German- description of Daniel Wollschl�ger

Re: [R] file.create issue

2016-08-19 Thread William Dunlap via R-help
ly com1 but "com1.txt". > > Best regards > Petr > > > > -Original Message- > > From: Fox, John [mailto:j...@mcmaster.ca] > > Sent: Friday, August 19, 2016 3:15 PM > > To: PIKAL Petr > > Cc: r-help@r-project.org > > Subject: RE: file.cr

Re: [R] function that converts data into a form that can be included in a question to mailing list

2016-08-24 Thread William Dunlap via R-help
-7119 > > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > > > Confidentiality Statement: > > This email message, including any attachments, is for the sole use of > the intended recipient(s) and may contain confidential and privileged > information. Any u

Re: [R] Storing business hours

2016-08-25 Thread William Dunlap via R-help
confidential. > It is solely intended for the recipient. If you are not the intended > recipient of this e-mail please contact the sender and delete this message. > Thank you. Without prejudice of e-mail correspondence, our statements are > only legally binding when they are made

Re: [R] Storing business hours

2016-08-29 Thread William Dunlap via R-help
> recipient of this e-mail please contact the sender and delete this message. > Thank you. Without prejudice of e-mail correspondence, our statements are > only legally binding when they are made in the conventional written form > (with personal signature) or when such documents are se

[R] possible error in stem() function?

2016-08-29 Thread Zibeli Aton via R-help
ion, or something I'm missing? Thanks. __ 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 c

Re: [R] possible error in stem() function?

2016-08-29 Thread Zibeli Aton via R-help
1:42 PM, Zibeli Aton via R-help wrote: > Using R-3.3.1 on Linux I seem to sometimes get inaccurate stem-and-leaf plots using stem.  For example: > >> x <- c(479,482,487,493,494,494,495,496,497,498,498,499

Re: [R] possible error in stem() function?

2016-08-29 Thread Zibeli Aton via R-help
And thanks, Sarah, using scale=2 got me the sort of plot I was looking for. I agree the help is a bit thin on that function. On Mon, 8/29/16, Sarah Goslee wrote: Subject: Re: [R] possible error in stem() function? Cc: "r-help" Da

Re: [R] 0 rows> (or 0-length row.names)

2016-08-30 Thread William Dunlap via R-help
in the model. > Total unique obs are around 1500. > > Please advice. > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > P

Re: [R] 0 rows> (or 0-length row.names)

2016-08-30 Thread William Dunlap via R-help
t; >> > Hi William/ Mark, >> > >> > I am using WOE & IV (weight of evidence) reduce the number of >> independent >> > vars. >> > I have read this data as a csv file. >> > reproducible example for your reference please: >> > >

Re: [R] yuen function of the WRS2 package

2016-08-30 Thread William Dunlap via R-help
data.frame > yuen(GoalsGame ~ League, tr=0.2, data = eurosoccer) > # the 'aov' function reads the data in the subset data.frame "SpainGer" > Goals.fit <- aov(GoalsGame ~ League, data = SpainGer) > summary(Goals.fit) > > __ > R-h

Re: [R] 0 rows> (or 0-length row.names)

2016-08-31 Thread William Dunlap via R-help
t;> >>> >>> > On Aug 30, 2016, at 12:32 PM, Shivi Bhatia >>> wrote: >>> > >>> > Hi William/ Mark, >>> > >>> > I am using WOE & IV (weight of evidence) reduce the number of >>> independent >>> > vars. >>> >

Re: [R] Time format lagging issue

2016-08-31 Thread William Dunlap via R-help
ML email. Please. > > > > > -- > Don MacQueen > > Lawrence Livermore National Laboratory > 7000 East Ave., L-627 > Livermore, CA 94550 > 925-423-1062 > > > > > > On 8/31/16, 9:07 AM, "R-help on behalf of Bhaskar Mitra" > > wrote: > &g

[R] : Extra loops in order to fill in a 3D table

2016-09-02 Thread Harris Agiropoulos via R-help
ot;,"t-value"] #GLS with variance power } tau0 tau tau2 tau3 tau4 tau5 tau6 ti0<-sum(abs(tau0) > 1.96) ti<-sum(abs(tau) > 1.96) ti2<-sum(abs(tau2) > 1.96) ti3<-sum(abs(tau3) > 1.96) ti4<-sum(abs(tau4) > 1.96) ti5<-sum(abs(tau5)

[R] readBin documentation error

2016-09-02 Thread Yucheng Song via R-help
length one describing the mode: one of "numeric", "double", "integer", "int", "logical", "complex", "character", "raw". [[alternative HTML version deleted]] __ R-help@r-projec

Re: [R] readBin documentation error

2016-09-02 Thread Yucheng Song via R-help
Intrinsic attributes: mode and length The distinction between numeric and integer modes in R may not be obvious, but it is important at times. Jim On Fri, Sep 2, 2016 at 5:47 AM, Yucheng Song via R-help wrote: > Hi,  In the help or readBin, there is an "int", but actually there is no

Re: [R] Run an external software in R

2016-09-06 Thread William Dunlap via R-help
nsys\MyAnsysCode.txt -o D:\Ansys\vm5.out'); > > > Any idea regarding implementing this work is very welcome. > > David > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Error while running Vegas function in cpvSNP package

2016-09-07 Thread caitlin mchugh via R-help
lattice_0.20-33 > colorspace_1.2-6 > [4] rtracklayer_1.30.4 HardyWeinberg_1.5.6 > DBI_0.5 > [7] BiocParallel_1.4.3 RColorBrewer_1.1-2 > lambda.r_1.1.9 > [10] plyr_1.8.4 zlibbioc_1.16.0 > munsell_0.4.3 > [13] gtable_0.2.0futile

[R] Revolutions blog: August 2016 roundup

2016-09-08 Thread David Smith via R-help
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests have written about R every weekday at the Revolutions blog: http://blog.revolutionanalytics.com and every month I post a summary of articles from the previous month of particular interest to readers of r-help. And in case

[R] with and evaluation

2016-09-08 Thread Carl Sutton via R-help
ess computerese is analogous to taxlawese.  Familiar words have entirely different meanings. Carl Sutton CPA [[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] understanding with

2016-09-08 Thread Carl Sutton via R-help
, all informative courses.  Yes I’m frustrated.  After a couple of years on and off takingclasses, reading books, reading stack overflow and r-help just about daily, Iam learning to almost crawl.  At one timeI thought I had advanced to walking but days like today show me I’m a toddlerabout to fall

Re: [R] Apply a multi-variable function to a vector

2016-09-09 Thread William Dunlap via R-help
gt; func2(10,121) > > > > Is there a simple way to accomplish this, for an arbitrary number of > variables? I’d like something that would simply work from the definition > of the function. If that is possible. > > > > Thanks, > > > > Steve Kennedy > &

Re: [R] separate commands by semicolon

2016-09-15 Thread William Dunlap via R-help
of Bucharest > Romanian Social Data Archive > Soseaua Panduri nr.90 > 050663 Bucharest sector 5 > Romania > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://sta

Re: [R] NaN Log-lik value in EM algorithm (fitting Gamma mixture model)

2016-09-15 Thread William Dunlap via R-help
k) comes out to > NaN. > > > > You just need to look really closely at each step of your calculations. > > Avoid using log(); use the functions that build it in (e.g. instead of > > log(dnorm(x)), use dnorm(x, log = TRUE)). > > > > Duncan Murdoch > > > > &

Re: [R] NaN Log-lik value in EM algorithm (fitting Gamma mixture model)

2016-09-16 Thread William Dunlap via R-help
t could not come up with anything striking. >>> >> >>> >> >>> > THere are lots of ways to get NaN in numerical calculations. A common >>> > one if you are using log() to calculate log likelihoods is that >>> rounding >>> > error gives y

Re: [R] if/else help

2016-09-21 Thread William Dunlap via R-help
) > } > else > { > a <- 0, b <- 0, c <- 0, d <- "x", r4 <- data.frame(cbind(a,b,c,d)) > } > > Thanks for your help, > B > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mail

Re: [R] "invalid argument to unary operator" while selecting rows by name

2016-09-21 Thread William Dunlap via R-help
71" "72" "80" > "88" "89" > >>>>> "91" "93" "105" "110" "111" "117" "119" "120" > >>>>> [21] "122" "127" "128" "133" &quo

Re: [R] Problem Mixstock in R

2016-09-21 Thread Marc Girondot via R-help
don't find anywhere a function mysum(). Is it part of the Mixstock package? Third: Send a reproducible exemple to show what you tried to use the function. Finaly you should read the posting guide in this list to have more chance to have answers. Sincerely, Marc ____

Re: [R] Memory not release when an environment is created

2016-09-22 Thread William Dunlap via R-help
can I release the data in test without destroying the xx object ? As x > which is big object is destroyed, I though I could get my memory back but > it seems that the function y is keeping the x object. > > Best > > [[alternative HTML version deleted]] > > __

[R] Replacing value with "1"

2016-09-22 Thread Saba Sehrish via R-help
uot;. Please see below as a sample: >df 00100 NA0110 0100NA What I want is: 00110 NA0111 0110NA I shall be thankful for the reply. Saba ____

[R] how to pass multiple pattern varibles to grep()

2016-09-23 Thread Fix Ace via R-help
estimate at more points so it will look smoother.  Try n=2^18. Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Mar 17, 2015 at 12:06 PM, Fix Ace wrote:  I have a dataset with 6187 elements, ranged from 3 to 104028. When I tried to examine only small range of data, I found that the

[R] BCa confidence bands around fitted curves MARS regression

2016-09-25 Thread varin sacha via R-help
plot(model) plotmo(model) Best Regards, S ______ 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-

[R] Fw: R problem

2016-09-27 Thread Elham Fakharizade via R-help
0.78 0.84 0.79 0.85 0.54 0.49 0.61 0.66 __ 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] Fw: R problem

2016-09-27 Thread Elham Fakharizade 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] BCa confidence bands around fitted curves MARS regression

2016-10-02 Thread varin sacha via R-help
e? If not, why not? If so, show us the code that failed. Or am I missing the point? Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip

[R] Interactive maps

2015-04-24 Thread Antonio Serrano via R-help
Does anyubody know how could I accomplish this?. Thanks in advance. Antonio Serrano aasde...@aim.com ن [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/ma

Re: [R] Interactive maps

2015-04-25 Thread Antonio Serrano via R-help
al Message- From: Jim Lemon To: Antonio Serrano Cc: r-help mailing list Sent: Sat, Apr 25, 2015 5:47 am Subject: Re: [R] Interactive maps Hi Antonio, If you do create the map in R, you can use locator(). Jim On Sat, Apr 25, 2015 at 8:37 AM, Antonio Serrano via R-help wrote: > > Hello,

Re: [R] Interactive maps

2015-04-27 Thread Antonio Serrano via R-help
> Hi Antonio, > Try the rasterImage function. > > Jim > > > On Sat, Apr 25, 2015 at > 4:19 PM, Antonio Serrano wrote: >> Thank you, Jim. >> >> I > didn't know the existence of the locator() function. But I can see now >> that I > don't

Re: [R] Interactive maps

2015-04-28 Thread Antonio Serrano via R-help
Thank you, Ben. I've just subscribed to R-sig-geo as you recommend. I'll post this staff there. Antonio Serrano aasde...@aim.com ن -Original Message- From: Ben Tupper To: Antonio Serrano Cc: r-help Sent: Mon, Apr 27, 2015 7:59 pm Subject: Re: [R] Interactive

[R] package.skeleton warning

2015-04-28 Thread carol white via R-help
o 'z.R' 2: In file.rename(from = file.path(code_dir, wrong), to = file.path(code_dir,  :   cannot rename file './myPackage/R/R' to './myPackage/R/zR.R', reason 'No such file or directory' Thanks Carol [[alternative HTML version deleted]] _

[R] reverse dep of a package

2015-04-28 Thread carol white via R-help
Hi,How to cite reverse dependancies in the NAMESPACE file in building a package? Regards, Carol [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r

Re: [R] package.skeleton warning

2015-04-28 Thread carol white via R-help
instead of listing them. Even if I upload and have them as R objects, I shouldn't have to list them in the list arg. Thanks On Tuesday, April 28, 2015 4:48 PM, Duncan Murdoch wrote: On 28/04/2015 10:05 AM, carol white via R-help wrote: >  Hi,Why do I get this warning wh

[R] cite publications in the package help file

2015-04-28 Thread carol white via R-help
ative 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

Re: [R] reverse dep of a package

2015-04-28 Thread carol white via R-help
yes, reverse dependency. All the reverse dependancies on the main web page of the packages are generated by CRAN? Thanks On Tuesday, April 28, 2015 5:02 PM, Duncan Murdoch wrote: On 28/04/2015 8:54 AM, carol white via R-help wrote: > Hi,How to cite reverse dependancies in

Re: [R] cite publications in the package help file

2015-04-28 Thread carol white via R-help
, 2015 7:37 PM, Duncan Murdoch wrote: On 28/04/2015 1:00 PM, carol white via R-help wrote: > To cite related publications, it seems that they can't be mentioned in  > DESCRIPTION. Where to mention so that it appears on the 1st page of  the pdf > help file and the package main

Re: [R] cite publications in the package help file

2015-04-28 Thread carol white via R-help
an example of a package main web page on CRANhttp://cran.r-project.org/web/packages/A3/index.html and the help pdf filehttp://cran.r-project.org/web/packages/A3/A3.pdf Regards, On Tuesday, April 28, 2015 7:37 PM, Duncan Murdoch wrote: On 28/04/2015 1:00 PM, carol white via R-help

Re: [R] package.skeleton warning

2015-04-29 Thread carol white via R-help
uot;myPackage", code_files = filenames) You may need to leave out some files if they aren't all *.R files. Duncan Murdoch > > Thanks > > On Tuesday, April 28, 2015 4:48 PM, Duncan Murdoch > wrote: > > > On 28/04/2015 10:05 AM, carol white via R-help wrote: &g

[R] Editable plot

2015-04-30 Thread IZHAK shabsogh via R-help
       #legend = c("x","y", "z","w")) text(1000, 0.15, "PM")text(1000, 1.10, "VM")text(1000, 1.52, "WMSE")text(1000, 1.40, "LT") Thank youIshaq [[alternative HTML version deleted]]

[R] Fixed effects regression and robust regression

2015-05-19 Thread michael westphal via R-help
ative 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,

[R] Sequentially serializing large objects

2015-05-19 Thread Kevin Wang via R-help
Hi r-help, I've been having some issues serializing large objects over a socket. I can reproduce the issue with the following two instances: Instance 1: > conn <- socketConnection("localhost", 34533, server = TRUE, open = "w+b") > for (i in 1:10) { serialize(

[R] Retrieving data from nested lists

2015-05-26 Thread blue honour via R-help
nk you.  [[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

[R] Using lapply when there are dependencies

2015-05-27 Thread blue honour via R-help
ead of a vector. Thank you for any 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,

Re: [R] Using lapply when there are dependencies

2015-05-28 Thread blue honour via R-help
Winsemius wrote: Subject: Re: [R] Using lapply when there are dependencies Cc: r-help@r-project.org Date: Thursday, May 28, 2015, 7:02 AM On May 27, 2015, at 4:34 PM, blue honour via R-help wrote: > Hi all, > > Let's say I have a vector: > > vv<-c(1,2,3) &

[R] merge function

2015-06-01 Thread carol white 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] merge function

2015-06-01 Thread carol white via R-help
will have 3 col, namely col1, col2, col3 but all 5 col, i.e. col1, col2... col5 are taken if nothing is specified for the by arg. Cheers, On Monday, June 1, 2015 4:32 PM, Michael Dewey wrote: On 01/06/2015 14:46, carol white via R-help wrote: > Hi,By default the merge funct

[R] building a list in a loop

2015-06-05 Thread carol white via R-help
loop, either? note that the name of the component is stored in a variable in the loop d = NULL#name1 contains the name for c(1,2,3), how to give the name below? d = list(d,c(1,2,3) Thanks   [[alternative HTML version deleted]] ______ R-h

Re: [R] building a list in a loop

2015-06-05 Thread carol white via R-help
s,  On Friday, June 5, 2015 11:13 AM, PIKAL Petr wrote: Hi It is not clear what exactly do you want. d<-list() vec<-1:3 for (i in 1:2) { vec<-vec+3*(i-1) d[[i]]<-vec #names(d)[i] <- paste("name",i) } You can add names in second loop or you can use names command in first l

Re: [R] building a list in a loop

2015-06-05 Thread carol white via R-help
n Friday, June 5, 2015 11:13 AM, PIKAL Petr wrote: Hi It is not clear what exactly do you want. d<-list() vec<-1:3 for (i in 1:2) { vec<-vec+3*(i-1) d[[i]]<-vec #names(d)[i] <- paste("name",i) } You can add names in second loop or you can use names command in first l

[R] Error in eigen(nhatend)

2015-06-05 Thread Olu Ola via R-help
lue failure after method BFGS A way forward will be highly appreciated. Thank you __ 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.o

[R] load a very big .RData - error reading from connection

2015-06-08 Thread carol white via R-help
Hi,How is it possible to load a very big .RData that can't be loaded it's very big and the following error msg is displayed load(".RData") Error: error reading from connection Thanks Carol   [[alternative HTML version deleted]] _______

Re: [R] load a very big .RData - error reading from connection

2015-06-09 Thread carol white via R-help
yes and doesn't help.600MB Thanks Carol On Tuesday, June 9, 2015 12:22 PM, Jim Lemon wrote: Hi carol, Have you tried renaming the file to something like "my.RData"? And just how big is it? Jim On Tue, Jun 9, 2015 at 5:50 AM, carol white via R-help wrote: > Hi,

[R] Creating list with increasing string lengths

2015-06-13 Thread Nia Gupta via R-help
for-loop and the sequence function but that doesn't seem to be working. Any help on this would be greatly appreciated. Thank you, Nia [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] Replace values in a dataframe

2015-06-17 Thread Grams Robins via R-help
zen", "Hazen", "Hazen", "Hazen")), .Names = c("Color", "Unit"), row.names = c("1:2", "1:3", "1:4", "1:5","1:6"), class = "data.frame") I need to find the <4 and have a new column

[R] Obtaining the Hessian for the last iteration of a BFGS in optimx

2015-06-21 Thread Olu Ola via R-help
Hello, I am running a BFGS using optimx and would like to obtain the Hessian for the last iteration. How can I go about this? Thank you __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] set par options once for entire R session

2015-06-23 Thread Martin Batholdy via R-help
once at the beginning and then keep them for an entire R session? Thank you! __ 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

[R] define absolute size in plots ... possible?

2015-06-24 Thread Martin Batholdy via R-help
font-size / symbol-size remains the same. Is that possible in R? Thank you! __ 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] define absolute size in plots ... possible?

2015-06-24 Thread Martin Batholdy via R-help
factor of 0.83: if there are three or more of either rows or columns, the reduction factor is 0.66.” On 24 Jun 2015, at 13:17 , Duncan Murdoch wrote: > On 24/06/2015 7:08 AM, Martin Batholdy via R-help wrote: >> Hi, >> >> I would like to define the size for tick-marks, axis-t

Re: [R] Plotting legend outside of chart area

2015-06-25 Thread Antonio Serrano via R-help
First, you have to increase the bottom margin to have enough space for the legend. You do it like this: par( mar = c(6,4,4,2) ) >From R help: ‘mar’ A numerical vector of the form ‘c(bottom, left, top, right)’ which gives the number of lines of margin to be specified

[R] how to change the "ff" properties of a "ff"-related R object after the original "ff" output folder has been moved

2015-06-25 Thread Shi, Tao via R-help
hs to the new one, so I don't have to re-run the own analysis. Many thanks! Tao ______ 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-pr

Re: [R] Plotting legend outside of chart area

2015-06-26 Thread Antonio Serrano via R-help
First, you have to increase the bottom margin to have enough space for the legend. You do it like this: par( mar = c(6,4,4,2) ) From R help: ‘mar’ A numerical vector of the form ‘c(bottom, left, top, right)’ which gives the number of lines of margin to be specified on

Re: [R] how to change the "ff" properties of a "ff"-related R object after the original "ff" output folder has been moved

2015-06-26 Thread Shi, Tao via R-help
04 PM, Shi, Tao via R-help wrote: > Hi all, > > I'm new to "ff" package through the using Bioconductor package "crlmm".  Here > is my problem: > > I've created a few R objects (e.g. an CNSet) using crlmm based on my data and > save them in a .R

Re: [R] how to change the "ff" properties of a "ff"-related R object after the original "ff" output folder has been moved

2015-06-26 Thread Shi, Tao via R-help
  For certain reasons, I have moved the ff output folder to > somewhere else.  Now when I go back to R, I can't open those CNSet, for > example, anymore, as the file has a property still storing the old ff output > folder path. > > My question is: is there a quick way to cha

[R] Bootstrapping Standard errors of nonlinear GMM obtained from BFGS (Optimx)

2015-06-28 Thread Olu Ola via R-help
p the standard errors will be greatly appreciated. ______ 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 pr

Re: [R] Double Roop

2015-06-30 Thread Peter Maclean via R-help
or(j in 1:length(a)) {    for(i in 1:length(b)){    pre[j]  <- strsplit(a[j],"-")[[1]][1]   post[j] <- strsplit(a[j],"-")[[1]][2]     page[i] <- paste0(pre[j], b[i],post[j])  }}Peter Maclean Department of Economics UDSM [[alternative HTML

[R] Help with order.max in ar.yw.default

2015-07-01 Thread debra ragland via R-help
to anything else (data of a similar set up) I get the error. I've tried looking for solutions on the internet but so far I've come up with nothing.  Has this happened to anyone before? Can I bypass this order. max call?  [[alternative HTML version deleted]] _____

[R] applying coda package effectiveSize function to a list

2015-07-01 Thread debra ragland via R-help
4hNiJD0ErZWR5UDZjd1BiNm [[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

Re: [R] Ramanujan and the accuracy of floating point computations - using Rmpfr in R

2015-07-02 Thread Aditya Singh via R-help
74620169031 >> >> The above answer is not only inaccurate, but it is actually worse than the >> answer using the usual double precision. Any thoughts as to what I am doing >> wrong? >> >> Thank you, >> Ravi >> >> >> >> [[alternative HTML versio

Re: [R] : Ramanujan and the accuracy of floating point computations - using Rmpfr in R

2015-07-02 Thread Aditya Singh via R-help
the >answer using the usual double precision. Any thoughts as to what I am doing >wrong? > >Thank you, >Ravi > > > > [[alternative HTML version deleted]] > >__ >R-help@r-project.org mailing list -- To UNSUBSCRIBE an

[R] Matrix Manipulation

2015-07-04 Thread Alex Kim via R-help
ta.frame(End=end, Start=unname(sapply(split(m[,'V1'],findInterval(m[,'V1'],end))[as.character(0:c(length(end)-1))],paste,collapse='.'))) However this is taking a little bit too long. Thank you for your help! [[alternative HTML version deleted]] _____

[R] Hypergeometric Function seems to give wrong results

2015-07-06 Thread Carlos Nasher via R-help
Can anyone help how to compute the correct values within R? Best regards, Carlos [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

[R] Quantile regression interval prediction

2015-07-09 Thread Angel Marley 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, minimal, self-contained, reproducible code.

[R] A question about nlmer in lme4 package

2015-07-11 Thread Patty Haaem via R-help
's more, how  are selected initial values (lKe = -2.5, lKa = 0.5 , lCl = -3) ? Thanks in advanceElham [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo

[R] an error in nlme package

2015-07-13 Thread Patty Haaem via R-help
g error:Error in nlme.formula(CONC ~ phenoModel(CID, TIME, AMT, lCl, lV), fixed = lCl +  :   object 'na.include' not found could you please tell me, how should I correct the codes?Thanks in advanceElham Haem [[alternative HTML version deleted]] _____

[R] A simple question

2015-07-13 Thread Alex Kim via R-help
he first column and the end locations in the second column into a matrix to look like this. [,1] [,2] [1,] 1 4 [2,]10 13 [3,]18 21 Thank you for your help, Alex [[alternative HTML version deleted]] ______ R-help@

[R] NLOPTR

2015-07-16 Thread Olu Ola via R-help
a way that I can obtain the estimates at the point of termination so that I can use these estimates as the new starting values for another round of estimation. Thank you. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

[R] Adjusting Probability for Oversampling

2015-07-16 Thread Riya Mehra via R-help
he did not adjust predicted probability when he score validation and test data. Any help would be highly appreciated! [[alternative HTML version deleted]] ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.

[R] OPTIMX: non-finite finite-difference value [26] and scaling problem

2015-07-17 Thread Olu Ola 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-contained, reproducible code.

[R] best way to globally set parameters for base graphics

2015-07-20 Thread Martin Batholdy via R-help
parameters given to par() so that they apply to all plots in (at least) an entire R-session? Thank You! __ 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

Re: [R] best way to globally set parameters for base graphics

2015-07-20 Thread Martin Batholdy via R-help
mgp=c(2.5, 0.72, 0), tcl=-0.4 ) ) layout(matrix(1:2, 1, 2, byrow=T)) plot(c(1,2,3)) plot(c(3,2,1)) On 20 Jul 2015, at 17:48 , Duncan Murdoch wrote: > On 20/07/2015 11:27 AM, Martin Batholdy via R-help wrote: >> Hi, >> >> I am looking for a w

[R] change text size on a graphics

2015-07-20 Thread carol white via R-help
s, Carol [[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

Re: [R] [FORGED] change text size on a graphics

2015-07-21 Thread carol white via R-help
uot;cex" argument to the call. Using the first example in the help page: heights<-c(14,20,9,31,17) barpos<-barplot(heights,main="A redundant bar plot") barlabels(barpos,heights+1,prop=1,cex=1.5) Jim On Tue, Jul 21, 2015 at 7:23 AM, Rolf Turner wrote: > On 21/07/15 08:24, c

Re: [R] Statistical distribution not fitting

2015-07-22 Thread Amelia Marsh via R-help
rm,c(list(x=xvec),as.list(ss$par))), > col="blue",lwd=2) > ## or try a skew-Student-t: not very different: > ss2 <- sstdFit(log10(mydat)) > lines(xvec,do.call(dsstd,c(list(x=xvec),as.list(ss2$estimate))), > col="purple",lwd=2) > > There are mo

Re: [R] Eye Diagram from a Topic Model

2015-07-25 Thread Peter Maclean via R-help
ext) #str(textss) model <- stm(textss$documents, textss$vocab, K=10, data=textss$meta, seed=5678) labelTopics(model) plot.STM(model, text.cex=0.8, type='summary', xlim=c(0, 0.5), n=4) #How can we create an eye-diagram with document-topic-words

[R] Sample Weights

2015-07-26 Thread Amelia Marsh via R-help
considered just a small part of the same. Regards Amelia __ 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

<    6   7   8   9   10   11   12   13   14   15   >