Displaying 20 results from an estimated 1516 matches for "clariti".
Did you mean:
clarity
2010 Apr 07
1
ggplot2, density barplot and geom_point layer
Hi,
Please consider the example below. How can I manage to overlay the points
the way I want in the second case?
Thanks, Joh
library(ggplot2)
# Modify data to match "real" case
myDiamonds <- diamonds
myDiamonds[["clarity"]] <- as.character(myDiamonds[["clarity"]])
myDiamonds[myDiamonds[["clarity"]]=="I1","clarity"] <- 1
2018 Feb 08
2
sparse.model.matrix Generates Non-Existent Factor Levels if Ord.factor Columns Present
Good day,
Sometimes, sparse.model.matrix outputs a dgCMatrix which has column names consisting of factor levels that were not in the original dataset. The first factor appears to be correctly transformed, but the following factors don't. For example:
diamonds <- as.data.frame(ggplot2::diamonds)
> colnames(sparse.model.matrix(~ . -1, diamonds))
[1] "carat"
2009 Dec 16
4
Creating Dummy Variables in R
Hi,
I am trying to create a set of dummy variables to use within a multiple linear regression and am unable to find the codes within the manuals.
For example i have:
Price Weight Clarity
IF VVS1 VVS2
500 8 1 0 0
1000 5.2 0 0 1
864 3 0 1 0
340
2013 Feb 18
1
ggplot2 and facet_wrap help
Dear R experts,
I am trying to arrange multiple plots, creating one graph for each
size1 factor variable in my data frame, and each plot has the median
price on the y-axis and the size2 on the x-axis grouped by clarity:
library(ggplot2)
df <- data.frame(price=matrix(sample(1:1000, 100, replace = TRUE), ncol = 1))
df$size1 = 1:nrow(df)
df$size1 = cut(df$size1, breaks=11)
2018 Feb 08
0
sparse.model.matrix Generates Non-Existent Factor Levels if Ord.factor Columns Present
color and clarity are ordered factors, so sparse.model.matrix is
generating orthogonal-polynomial contrasts (see ?contr.poly). This is
by design ... what are you trying to do? Are you interested in fac2sparse?
On 18-02-07 11:00 PM, Dario Strbenac wrote:
> Good day,
>
> Sometimes, sparse.model.matrix outputs a dgCMatrix which has column names consisting of factor levels that were not
2012 Jan 29
1
ColorBrewer question
Hello, R friends,
I'm trying to change colors of my horizontal bars so that they show a sequence.
I chose the ColorBrewer palette "Blues". However the resulting plot doesn't show any changes to the default.
I tried several places of "+ scale_colour_brewer(type="seq", pal = "Blues")" with no effect.
This is my code:
p <- ggplot(data, aes(x =
2010 Sep 10
3
ggplot bar geom: control the filling in the colour legend
Hi all,
Is it possible to change the filling of the squares used to represent
the colour legend in a bar plot with ggplot?
in this example, fillings are raven black, I'd like them white.
ggplot(diamonds, aes(clarity, colour = cut)) + geom_bar()
Regards
--
-------------
Benoit Boulinguiez
Ph.D student
Ecole de Chimie de Rennes (ENSCR) Bureau 1.20
Equipe CIP UMR CNRS 6226 "Sciences
2002 Aug 19
1
tinc woes (connection established, possible routing issues)
Hello,
I'm trying to use tinc to establish a vpn between two linux boxes. The
keys are shared and the connection gets established, but I can't seem to
ping either side. One side is strictly a server for the client to connect
to. It has a public IP, and the private IP subnet which it's trying to
"share" to the client. It's a pretty simple and straight forward setup.
2010 May 10
2
[Bug 1769] New: sftp displays size and transfer speed as "MB"; should use "MiB" for clarity
https://bugzilla.mindrot.org/show_bug.cgi?id=1769
Summary: sftp displays size and transfer speed as "MB"; should
use "MiB" for clarity
Product: Portable OpenSSH
Version: 5.1p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sftp
2010 Sep 23
4
[Bug 1825] New: ipv64_normalise_mapped()'s memset should use a4, not addr, for clarity
https://bugzilla.mindrot.org/show_bug.cgi?id=1825
Summary: ipv64_normalise_mapped()'s memset should use a4, not
addr, for clarity
Product: Portable OpenSSH
Version: 5.6p1
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P2
Component: Miscellaneous
2003 Jul 21
0
Changing the labels on a regression tree (repeat post - with added clarity)
Hello
I posted a very similar question last week, but the responses I
received indicated that my post was unclear....
I have a regression tree created in rpart with
tr.logypsx <- rpart(log(YPSX + 1)
~AGE+drugfact+sexfact+as.numeric(OBSX) +WINDLE + EABUSED + PABAU +
positive.par + control.par + lenient.par, xval = 10, method = 'anova',
cp = 0.0001, data = duhray2)
and then
2004 Mar 13
1
some clarity Re: HFS+ resource forks: WIP patch included
I'd note that the mkisofs man page listed about a dozen different
formats used in various contexts to store Mac resource forks and
finder metadata in various contexts. I'd imagine the advent of MacOSX
(with UFS support) has narrowed the field of what options are common
somewhat, but it's an area where a lot of ad-hoc solutions made it
out to the real world. On the other hand, the
2014 Jul 03
0
Voice clarity issue
Hello all,
Im using a GSM gateway device for making outbound calls. GSM device is
connected to one of my SIP peer. Now am facing a lot of voice signal
problems. I checked with my vendor and there is no issues with signal and
device. Any settings in asterisk?
Thanks
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Mar 01
1
tricky (for me) merging of data...more clarity
Hi Again,
Thanks very much for your response. It seems my example got rearranged
(transposed?) after I posted it. Hopefully this example will be more
clear. I have one file (ex. sheet 1) that will have a column for
individuals (ind) and a column for the date (date). I would like to merge
this with another file (ex. sheet 2) that has both the 'ind' and date column
as well as associated
2016 Jul 01
3
[cfe-dev] FYI: Landing the initial draft for an LLVM Code of Conduct
On Fri, Jul 1, 2016 at 10:05 AM, Robinson, Paul <paul.robinson at sony.com>
wrote:
> I'm not sure why you're stuck on thinking I want an enumeration of
> offenses.
>
Sorry, it's because i don't see a way to give you the below without it :)
> What I'm looking for (and AFAICT also Rafael and maybe other people) is a
> clearer statement that
2008 Jan 23
13
DRYing up stories
I''m finding that I''m writing sets of very similar scenarios to check access
permissions for each of my actions. Does anyone have suggestions on how to
dry this up:
Given an existing Account
And a logged in Admin
When the user visits account/manage
Then he should get access
Given an existing Account
And a logged in Manager
When the user visits account/manage
Then he should get
2009 Sep 09
4
Joining Characters in R {issue with paste}
Hi Guys
I am want to join to strings in R. I am using paste but not getting
desirable result.
For the sake of clarity, a quick example:
> a="Bio"
> b="iology"
> paste(a,b)
[1] "Bio iology"
*There is a SPACE in the word biology which is what I dont want *
Thanks,
-Abhi
[[alternative HTML version deleted]]
2020 Feb 17
2
[PATCH 3/3] iommu/virtio: Enable x86 support
On Sun, Feb 16, 2020 at 04:50:33AM -0500, Michael S. Tsirkin wrote:
> On Fri, Feb 14, 2020 at 04:57:11PM +0000, Robin Murphy wrote:
> > On 14/02/2020 4:04 pm, Jean-Philippe Brucker wrote:
> > > With the built-in topology description in place, x86 platforms can now
> > > use the virtio-iommu.
> > >
> > > Signed-off-by: Jean-Philippe Brucker
2020 Feb 17
2
[PATCH 3/3] iommu/virtio: Enable x86 support
On Sun, Feb 16, 2020 at 04:50:33AM -0500, Michael S. Tsirkin wrote:
> On Fri, Feb 14, 2020 at 04:57:11PM +0000, Robin Murphy wrote:
> > On 14/02/2020 4:04 pm, Jean-Philippe Brucker wrote:
> > > With the built-in topology description in place, x86 platforms can now
> > > use the virtio-iommu.
> > >
> > > Signed-off-by: Jean-Philippe Brucker
2016 Jul 01
2
[cfe-dev] FYI: Landing the initial draft for an LLVM Code of Conduct
On Fri, Jul 1, 2016 at 7:27 AM, Robinson, Paul <paul.robinson at sony.com>
wrote:
> | It's not sanely possible to enumerate all the possibilities
>
> Not looking for that. Looking to avoid being trolled. ("Trolled" isn't
> the right word here but I've lost track of what the right one is. Hopefully
> my intent is clear enough.)
>
I'm really not