I forgot to change the xyplot for the colours; if you want the same colours
in the key you need to use the par.settings argument or set the settings for
the device.
the xyplot becomes
xyplot(Sepal.Length + Sepal.Width ~ Petal.Length + Petal.Width,
iris,
par.settings = list(superpose.symbol
Many thanks John, Bush, Dirk.
Kind regards
> On Dec 28, 2016, at 9:57 PM, Dirk Eddelbuettel wrote:
>
>
> On 28 December 2016 at 13:46, John Laing wrote:
> | I've cleaned up the findata repository, you should now be able to install
> | Rbbg as expected.
> |
> | But that said, the package is no
Hi
It makes it easier
library(grid)
library(lattice)
# legend
XY04.glay <-
grid.layout(nrow = 4,
ncol = 2,
heights = unit(rep(1, 2), rep("cm", 2)),
widths = unit(c(0.4, 0.8),
c("in","in")),
just = "centre")
XY04.fmG <-
Hi
For rectangular data
write.table(tab, "clipboard", sep = "\t", row.names = F)
followed by Ctrl-V in Excel
or
write.table(tab, "somefile.xls", sep = "\t", row.names = F)
For free format output like summary(somefit) I prefer to copy it to Word and
use font like Courier New with monospaced le
I think the intended appearance is closer to this
xyplot(Sepal.Length + Sepal.Width ~ Petal.Length + Petal.Width,
iris,
type = c("p", "r"),
jitter.x = TRUE,
jitter.y = TRUE,
factor = 5,
key = list(between=c(-4.5),
column=4,
text=list(lab=paste0(" ", letters[1:4], "
Hi
Is this something like what you are looking for?
I have put it on the right and heights etc are just a quick guess. (all i
have time for)
It may be a little too complicated for what you want but I thought of this
first based on your description rather than the plot.
library(grid)
library(latt
Yes, but it will probably require work. I think you will need to
write a grob that does what you want
and then use the grob in a legend statement in the xyplot.
Start with the 'legend' argument to xyplot (about line 940 in ?xyplot).
You will probably need to work directly with grid functions and
> On Dec 27, 2016, at 7:28 PM, amit rathee
> wrote:
>
> R/Sir, i am trying to find
> precision and recall value for multi class software clustering problem using
> package "ClusterCrit"i have attached my source code
> "Clustering.txt" and input files "ClassCoupling.txt"
> & "JUnitGol
> On Dec 28, 2016, at 6:50 PM, sbihorel
> wrote:
>
> Hi,
>
> I would like to create a custom key for a lattice xyplot in which line
> elements are displayed on top of rectangle elements. In the example code
> below, the lines and rectangles are shown side by side (the legend itself is
> mea
use "write.csv("you-df", "name-of-file.csv", row.names = FALSE).
And Google please, as others have suggested.
2016-12-28 21:33 GMT-05:00 Jim Lemon :
> Hi Bryan,
> When I have to do something like this, I usually go through HTML
> output and import it into MS Word. I am not suggesting that this i
Hi,
I would like to create a custom key for a lattice xyplot in which line
elements are displayed on top of rectangle elements. In the example code
below, the lines and rectangles are shown side by side (the legend
itself is meaningless, but that is not the point). Is there a way to
overlay t
Hi Bryan,
When I have to do something like this, I usually go through HTML
output and import it into MS Word. I am not suggesting that this is
the best thing to do, but it might get you out of trouble. I'm not
sure whether importing HTML into Excel will work as well. I assume
that you are running a
Hi Rolf,
I wanted to export the output/results of R to an Excel file for easier
comparisons/reporting. When I tried to copy and paste my output to an excel
file the formatting was off.
I want to export my descriptive stats and the linear regression.
I googled “Export R output to excel” but did
On 29/12/16 12:48, Bryan Mac wrote:
Hi Rolf,
I wanted to export the output/results of R to an Excel file for
easier comparisons/reporting. When I tried to copy and paste my
output to an excel file the formatting was off. I want to export my
descriptive stats and the linear regression.
This mak
I think this is really a statistical issue, not a general r
programming issue, which is what r-help is about.
I think a much better target for this post would be the r-sig-geo
list, where you likely would find the expertise you need.
r-sig-ecology might also work, so you should probably check this
On 29/12/16 10:45, Bryan Mac wrote:
Hi,
How do I export results from R to Excel in a format-friendly way? For
example, when I copy and paste my results into excel, the formatting
is messed up.
Short answer: *Don't*. ("Friends don't let friends use excel for
statistics.")
Longer answer:
Collaborative filtering will be helpful.
Regards,
Vikash
On Wed, Dec 28, 2016 at 3:53 PM, Winson Lui
wrote:
> HI,
>
> I have a historical dataset which tells who bought our products. This
> dataset contains ID, Age, Gender and Salary.
> I have another set of data which contains the four fields
Hi,
How do I export results from R to Excel in a format-friendly way? For example,
when I copy and paste my results into excel, the formatting is messed up.
Thanks.
Bryan Mac
bryanmac...@gmail.com
__
R-help@r-project.org mailing list -- To UNSUBSCRI
I am attempting to smooth the jagged paths of animal tracks to determine their
distances with greater accuracy. The data is in the form of (x,y) 2D
coordinates. My end goal is to produce a set of interpolating points whereby
their Cartesian distances are equal to each other. So far, I have been
This list is about R programming, not statistical methodology,
although there is sometimes an overlap. You should do better posting
to a statistics list like stats.stackexchange.com for queries about
statistics. Although it looks like you may need to do some studying in
a basic regression methods t
On 28 December 2016 at 13:46, John Laing wrote:
| I've cleaned up the findata repository, you should now be able to install
| Rbbg as expected.
|
| But that said, the package is no longer being actively developed. Recent
| efforts have been taking place in the Rblpapi package. The interface is
|
Your original data does not contain a field called year. This will not give you
what you asked for which was a separate row for each month and you have
specified month as part of the timevar (columns) and the idvar (rows). Perhaps
you want year and month to specify the rows using idvar=c("year",
Hi all,
I'm trying to use the result of a PLSDA model outside R, but I'm having a
really hard time finding documentation on how to write the model from the
results in the fit object.
In order to provide a good starting point I believe that this code creates
a good model that is stored in the fit va
HI,
I have a historical dataset which tells who bought our products. This dataset
contains ID, Age, Gender and Salary.
I have another set of data which contains the four fields above.
How should I use R to calculate the probability of purchase of each customer in
the second dataset or whether th
I've cleaned up the findata repository, you should now be able to install
Rbbg as expected.
But that said, the package is no longer being actively developed. Recent
efforts have been taking place in the Rblpapi package. The interface is
similar, though not strictly compatible. If you're doing much
> On Dec 28, 2016, at 4:30 AM, radhika sundar
> wrote:
>
> The example code for the indeptCoxph function in the spBayesSurv package has
> been updated(this is not cross-posted anywhere else). See code below. The
> author simulates data to illustrate the Cox model - I am stuck trying to
> u
The example code for the indeptCoxph function in the spBayesSurv package
has been updated(this is not cross-posted anywhere else). See code below.
The author simulates data to illustrate the Cox model - I am stuck trying
to understand the role of the functions f0oft, S0oft, fioft and Sioft as
als
If you actually visit that link, you will see that the directory structure
isn't laid out in the way that install.packages() currently expects for a
repo, but that you can still download the package yourself, and presumably
install it from local file.
On Wed, Dec 28, 2016 at 4:41 AM Tolga Uzuner
Hi
> -Original Message-
> From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us]
> Sent: Wednesday, December 28, 2016 10:13 AM
> To: PIKAL Petr ; r-help mailing list project.org>
> Subject: RE: [R] offset in nlme
>
> You don't need to post WORKING code... just code that leads to the probl
Dear R users,
I have some old code that was using Rbbg, which no longer appears to be
working.
I tried to download Rbbg using the line:
install.packages("Rbbg", repos = "http://r.findata.org";)
in R version 3.3.2 on a Windows 10 machine and got the following error:
> install.packages("Rbbg",
You don't need to post WORKING code... just code that leads to the problem you
want help with. The ability to create the error and then eliminate the error
greatly reduces guessing on both sides of the conversation about the nature of
the question. (Things the asker did not know were important b
31 matches
Mail list logo