# basic variables
name <- "Msk Sk"
name
# Looping Variables
for (x in 1:10) {
print(x)
}
# Paste function
text <- "awesome"
paste("R is", text)
text1 <- "R is"
text2 <- "awesome"
# Numbers
num1 <- 5
num2 <- 10
num1 + num2
vars() in R: vars() is a quoting function that takes inputs to be evaluated in the context of a dataset. These inputs can be: variable names. complex expressions.
path = r'%s' % variable
Code Example |
---|
R :: ggplot2 legend text |
R :: error installing devtools r |
R :: r change column based on condition |
R :: filter only NA column in R |
R :: how to summarise data but keep columns R |
R :: convert all numeric columns to percentages R |
R :: r sapply syntax |
R :: how to link world bank data into r |
R :: order rows of a dataframe using a vector |
R :: r delete rowif number higher than |
R :: read.table |
R :: how to format a number in r |
R :: copy list R |
R :: show unique R |
R :: r yardstick confusion matrix |
R :: not equals r |
R :: cut function R |
R :: detect rank deficient in r |
R :: ggplot2 color gradient |
R :: Pass argument to group_by (2) |
Rust :: rust take user input |
Rust :: how to split a string by spaces rust |
Rust :: read file rust |
Rust :: rust copy to clipboard |
Rust :: Pushing Array values to a Vector in Rust |
Rust :: rust lang enum |
Rust :: get last index of string rust |
Rust :: rust absolute path |
Rust :: armanriazi•rust•thread•multi•arc•mutex |
Rust :: armanriazi•rust•concept•jargon |