HI lily,
for the colouring of individual points you can set the colour aesthetic.
The ID is numeric so ggplot applies a colour scale. If we cast ID to a
factor we get the appropriate colouring.
test_df <- data.frame(ID = 1:20, v1 = rnorm(20), v2 = rnorm(20), v3 =
rnorm(20))
ggplot(data=test_df,
There's also the alternative to use both, e.g. by having a system
environment variable set a corresponding R option, which then can be
overridden using options(). For instance, the R option mc.cores,
which is used by the parallel package, is set to the (integer) value
of system environment variabl
Hi R users,
I have some sets of variables and put them into one dataframe, like in the
following. How to choose a specific set of pareto front, such as 10 from
the current datasets (which contains more than 100 sets)? And how to show
the 10 points on one figure with different colors? I can put all
If row numbers can be dispensed with, then tidyr makes this easy with
the unnest function:
#
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> inte
On 25/08/2017 1:19 PM, Sam Albers wrote:
Hi there,
I am trying to distinguish between getOption() and Sys.getenv(). My
understanding is that these are both used to set values for variables.
getOption is set something like this: option("var" = "A"). This can be
placed in an .Rprofile or at the to
Hi there,
I am trying to distinguish between getOption() and Sys.getenv(). My
understanding is that these are both used to set values for variables.
getOption is set something like this: option("var" = "A"). This can be
placed in an .Rprofile or at the top of script. They are called like this
getO
You are doing yourself no favors by posting HTML format email... the code
shown below has extra characters in it that you probably did not put
there. This is a plain text mailing list, so you need to send plain text
email. Read the Posting Guide mentioned in the footer of this and every
R-help
Hi,
Really appreciate your guidance...I tried google searches before posting here,
but may be I am wrong...that's why I thought of getting this forum's guidance...
Going through the links shared here..I think I can take up my first task in R
with some confidence...
Really this is not a sarcastic
Hi David
No as it is rather big and I just thought somebody who has better insight into
how augPred works could point me why such behaviour could happen.
I **think** that augPred somehow looks into original groupedData object and
some column in full mar.g triggers error. It seems to me, that wh
9 matches
Mail list logo