Comments (8)
@johnmackintosh oh that does it, than you very much. Thanks for all the help! :)
from rockthemes.
Do you have the remotes package installed in R?
from rockthemes.
Hi, thanks for your comments :)
Looks like remotes is trying to install from the master branch.
Unfortunately, there is no 'master' branch, it's 'main'.
If you update to the latest version of the {remotes} package, it should find the 'main' branch.
See :
https://twitter.com/grrrck/status/1350504524901920773?s=19
Alternatively
remotes::install_github('johnmackintosh/rockthemes@main')
from rockthemes.
@johnmackintosh .. perfect .. that worked.
However, something occurred to me after is that I need to make a continuous color gradient, and that could not! :( Rather, I do not now how to convert a 10 color scale to a continuous one (n = 256). Any help would be great! Rock and metal has place in science! ;)
from rockthemes.
@barveaditya
Do you have a reprex you could share?
I can get something to work with the standard 4 colour palettes.
Will try with the ten tone palettes in a bit
library(ggplot2)
library(rockthemes)
df <- data.frame(
x = runif(1000),
y = runif(1000),
z1 = rnorm(1000),
z2 = abs(rnorm(1000)),
temp = c(1:999, by = 1)
)
ggplot(df, aes(x, y)) +
geom_point(aes(colour = temp)) +
scale_colour_gradientn(colours = rock_palette('nodoubt', 256, type = 'continuous'))
from rockthemes.
ggplot(df, aes(x, temp)) +
geom_point(aes(colour = temp)) +
scale_colour_deelite(type = 'continuous') +
theme_minimal()
from rockthemes.
from rockthemes.
closing this one, but need to tweak the individual palettes so #14 awaits
from rockthemes.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rockthemes.