similar to: Polynomial regression line

Displaying 20 results from an estimated 700 matches similar to: "Polynomial regression line"

2010 Nov 29
1
map() and pdf clipping
Hello, Below is a function (test.map) that permits drawing the same map using three different devices. The "pdf" device doesn't clip polygons to the plot region as I see it does by both the native device (in my case "Quartz") and the "png" device. test.map("pdf") # produces "test-map.pdf" with no clipping test.map("png") #
2012 Nov 14
2
How to filter xml value in R?
Hi, I have one xml file. <Class> <Node1 code ="1"> First node </Node1> <Node2 code ="1"> Second node </Node2> <Node3 code ="1"> Third node </Node3> <Node1 code ="2"> Fourth node </Node1> </Class> for (i in 1:xmlSize()) { print(Class[i]) # how can i filter Node1 ? } by
2011 Mar 12
1
creating list of lists
Question 1: I have a long list of variable names such as first <- c("one","two","three") and what I want to do is create a list of lists ... where the names of each of overall lists components are "one","two", and "three". This is the same result as second <- list(one=list(),two=list(),three=list()) Is there a way to exploit
2012 Nov 03
1
How to make pch symbols thicker?
Hi I need to know how to make pch symbols like pch=3 (+) or pch=4(x) or even the border of squares or triangles thicker without changing the size. I have a lot of symbols of different colors but you can't see the colors clearly and I don't want to change the symbol. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/How-to-make-pch-symbols-thicker-tp4648295.html
2011 Nov 15
3
if/else scope
What is wrong with the following? x <- 1:2 if(x[1] > 0) { if(x[2] > 0) { print("1 & 2 > 0") } else { print("1 > 0") } } else { if(x[2] > 0) {
2012 Oct 29
1
XML namespace control
Hello, I am working with a database system from which I can retrieve these kinds of user defined fields formed as XML ... <udf:field unit="uM" type="Numeric" name="facs.Stain final concentration">5</udf:field> You can see in the above example that "field" is defined in the namespace "udf", but that the "udf" namespace is
2010 Dec 10
3
Textwrangler Languages Folder
Dear R Community, I recently switched to a Mac (10.6.5), and have installed Textwrangler to run code to R. However, I can't install the syntax highlighting file because I can't find the directory: "~Users/username/Library/Application Support/TextWrangler/Language Modules/". Is there a different location I can place the syntax highlighting file? Scott [[alternative HTML
2011 Dec 23
2
Custom XML Readers
I need to construct a custom XML reader, the files I'm working with are in funky XML format: <str name="author">Paul H</str> <str name="country">USA</str> <date name="created_date">2010-02-16</date> I want to read the file so it looks like: author = Paul H country = USA created_date=2010-02-16 Does any one know how to
2012 Sep 26
1
RCURL ftp upload - ASCII or Binary type?
I'm trying to upload a file using RCURL:s ftpUpload() to a ftp-server using the following command: > ftpUpload("'VERY.ODD.FILE.NAME(+1)'",to="ftp://x.x.x.x/","' VERY.ODD.FILE.NAME(+1)'",userpwd="USER:PASSWORD") OK 0 The file I'm trying to upload is a very simple text-file but with a bit weird filename. Note the ' on each
2011 Sep 09
3
split variable / create categories
Hi, is there a function or an easy way to convert a variable with continuous values into a categorial variable (with x levels)? here is what I mean: I want to transform x: x <- c(3.2, 1.5, 6.8, 6.9, 8.5, 9.6, 1.1, 0.6) into a 'categorial'-variable with four levels so that I get: [1] 2 2 3 3 4 4 1 1 so each element is converted into its rank- value / categorial-value (in
2012 Sep 06
1
[Rscript] difficulty passing named arguments from commandline
Wanting a commandline solution (for a problem detailed @ http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2012/msg00279.html ) I turned to Rscript, and whacked out the q'n'd https://github.com/TomRoche/GEIA_to_netCDF/blob/master/netCDF.stats.to.stdout.r However it wasn't as quick as hoped, because I spent quite a bit of time figuring out how to pass the arguments.
2011 Jul 28
2
Ploting gradient
I have a simple bar chart with annual precipitation (jan to dez). I want to plot, above each bar (on a line), a square wich is color based on a scale (0-100%). With 0 being white and 100 black, like a gradient. Is it possible? How to? Thanks -- Fernando Andreacci [[alternative HTML version deleted]]
2012 Jan 05
4
automatic SI prefixes as ticklabels on axis
i want to plot values with frequency on a logarithmic x axis. similar to this example that i found in the web: http://www.usspeaker.com/jensen%20p15n-graph.gif I would like to convert long numbers to si prefix notation like in the example (200000 to 200k, 35000000 to 3.5 M) Of course i could create labels by hand, but i have many files so i need some automatic function. Has anyone done that
2013 Jan 22
2
Creating a Data Frame from an XML
Hello, I'm attempting to read information from an XML into a data frame in R using the "XML" package. I am unable to get the data into a data frame as I would like. I have some sample code below. *XML Code:* Header... Data I want in a data frame: <data> <row BRAND="GMC" NUM="1" YEAR="1999" VALUE="10000" /> <row
2011 Aug 09
1
monthly boxplot
I'm trying to make a monthly boxplot using this: boxplot(varmeasure ~ vardates) vardates = [1] 10/1/2010 10/1/2010 10/1/2010 10/1/2010 10/1/2010 10/1/2010 10/1/2010 [8] 10/1/2010 10/1/2010 11/1/2010 11/1/2010 11/1/2010 11/1/2010 11/1/2010 .... varmeasure = [1] 0.0 26.0 0.2 -0.2 -1.2 -0.8 0.0 4.4 -0.6 -0.2 14.4 -0.2 [13] 4.8 4.0 2.8 3.2 3.8 3.2 -11.4 0.2 0.4
2008 Aug 11
4
A comprehensive manual on "How to plot" (a lot of graphical examples welcome)
Hi, I'm looking for a manual (we based or pdf) which would explain in detail with graphical examples what all the option can do in plot and par. Does anybody now anything like this? A couple of manuals to R I went through do have plot parameters mentioned, but sometimes it is hard to understand or imagine what the parameter can do (the same with the related help page) e.g. I met "From
2015 Mar 19
2
CRAN binary, but no source
On Thu, Mar 19, 2015 at 10:54 AM, John McKown <john.archie.mckown at gmail.com> wrote: > On Thu, Mar 19, 2015 at 10:46 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote: >> Hi All, >> >> this is a CRAN question, so I am sorry if this is not the appropriate forum. >> >> I noticed that there is at least one CRAN package that has a binary (OSX >>
2015 Aug 13
3
Bug in rank with utf8?
x <- "\u0663" y <- 3 x == y # FALSE rank(c(x, y)) # c(1.5, 1.5) -- http://had.co.nz/
2015 Mar 19
3
CRAN binary, but no source
Hi All, this is a CRAN question, so I am sorry if this is not the appropriate forum. I noticed that there is at least one CRAN package that has a binary (OSX Mavericks) for a version, that does not have any source package on CRAN. Or at least I am unable to locate it. The package is Rglpk: http://cran.r-project.org/web/packages/Rglpk/index.html It offers a binary for 0.5-2, but there is no
2017 Jul 18
4
Creating/Reading a complex string in R
Thanks for your pointer. Is there any way in R how to replace " ' " with " /' " programmatically? My actual string is quite lengthy, so changing it manually may not be possible. I am aware of gsub() function, however not sure I can apply it directly on my original string. Regards, On Tue, Jul 18, 2017 at 10:27 PM, John McKown <john.archie.mckown at gmail.com>