Search
 
SCRIPT & CODE EXAMPLE
 

R

disable the y axis in plot r

yticks = c('A', 'B', 'C')
x = c(0, 1, 2, 3, 4, 5)
y = c(1, 2, 3, 2, 1, 3)
plot(y = y, x = x, yaxt = 'n', type='b') # yaxt='n' removes the y axis values
axis(side = 2, at = c(1,2,3), labels = yticks)
Comment

PREVIOUS NEXT
Code Example
R :: calculating RMSE, MAE, MSE, Rsquared manually in R 
R :: naming matrix in r 
R :: replace any NA in a data frame in r 
R :: check R package 
R :: remove column from matrix r 
R :: mutual information in r 
R :: make gif r 
R :: remove_all_labels(x) 
R :: convert int to character R 
R :: rename a variable in r 
R :: read xlsx in r 
R :: how to add columns to a flextable in r 
R :: dplyr average columns 
R :: bioFabric r 
R :: how to group rages in r 
R :: r ggplot variable name 
R :: geom_jitter transparency 
R :: SSL certificate problem in R 
R :: ggplot in R how to show information by hovering 
R :: r count rows dataframe 
Rust :: create thread in rust 
Rust :: how to make an array in rust 
Rust :: rust multiline comment 
Rust :: rust round 2 decimal places 
Rust :: transpose a matrix 
Rust :: rust loop vector by size 
Rust :: armanriazi•rust•rc•vs•arc 
Rust :: get value from option rust 
Rust :: macro_rules! 
Lua :: Children Loop Roblox Lua 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =