Search
 
SCRIPT & CODE EXAMPLE
 

R

tbale() in R

# R Program to create 
# a tabular representation of data
  
# Creating a vector
vec = c(2, 4, 3, 1, 2, 3, 2, 1, 4, 2) 
  
# Calling table() Function
table(vec)

#Output:

# vec
# 1 2 3 4 
# 2 4 2 2 

#BY faycal elourrat  ^.^
Comment

PREVIOUS NEXT
Code Example
R :: defulat function values R 
R :: line split r 
R :: r split string column by delimiter 
R :: r column to rownames 
R :: r merge multiple data frames at once 
R :: how to import csv file in r 
R :: how to group by 2 variables in r 
R :: r pipe 
R :: r language comment 
R :: how to return the date with only the day in it in r 
R :: switch in r 
R :: skewness in r 
R :: r create a vector 
R :: r append to vector 
R :: r matrix 
R :: count number of columns in r 
R :: find nas in dataframe r 
R :: read.table 
R :: select a value in a data frame R 
R :: R create sequence of date each quarters 
R :: not displaying prints and on.exit in r 
R :: logistic inverse CDF in r 
R :: how to add in dictionary in R 
R :: how the print backslash in r 
R :: imputation in r 
Rust :: array as a parameter rust 
Rust :: How to know the data type in rust 
Rust :: rust hashmap 
Rust :: armanriazi•rust•pattern•design•interior•mutability 
Rust :: armanriazi•rust•thread•spawin•move•capture 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =