R Functions S&DS Exam One

0.0(0)
Studied by 3 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/119

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:23 AM on 2/26/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

120 Terms

1
New cards
abline()
Adds a straight line to a plot.
2
New cards
abs()
Returns the absolute value of a number.
3
New cards
apply()
Applies a function to rows or columns of a matrix or array.
4
New cards
as.character()
Converts an object to a character (text) type.
5
New cards
as.numeric()
Converts an object to a numeric type.
6
New cards
as.vector()
Converts an object to a vector.
7
New cards
attach()
Attaches a dataset to the search path, making its columns accessible by name.
8
New cards
barplot()
Creates a bar chart.
9
New cards
boot()
Performs bootstrapping (resampling) for statistical analysis.
10
New cards
boot.ci()
Calculates confidence intervals for bootstrapped results.
11
New cards
boxplot()
Creates a boxplot to visualize data distribution.
12
New cards
by()
Applies a function to subsets of data based on a factor.
13
New cards
c()
Combines values into a vector or list.
14
New cards
calcTemp()
(Custom function) Likely calculates temperature-related values.
15
New cards
cbind()
Combines columns into a matrix or data frame.
16
New cards
cex()
Controls the size of text and symbols in plots.
17
New cards
class()
Returns the class (type) of an object.
18
New cards
cleanNHData()
(Custom function) Likely cleans or preprocesses NH (New Hampshire) data.
19
New cards
colnames()
Gets or sets the column names of a matrix or data frame.
20
New cards
colors()
Lists available color names in R.
21
New cards
colSums()
Calculates the sum of each column in a matrix or data frame.
22
New cards
complete.cases()
Identifies rows with no missing values.
23
New cards
convertTimes()
(Custom function) Likely converts time formats.
24
New cards
data.frame()
Creates a data frame (a table-like structure).
25
New cards
dbinom()
Calculates the probability density for a binomial distribution.
26
New cards
demo()
Runs demonstration scripts in R.
27
New cards
dexp()
Calculates the probability density for an exponential distribution.
28
New cards
dim()
Returns the dimensions (rows and columns) of a matrix or data frame.
29
New cards
dirname()
Extracts the directory name from a file path.
30
New cards
dnorm()
Calculates the probability density for a normal distribution.
31
New cards
droplevels()
Removes unused levels from a factor.
32
New cards
duplicated()
Identifies duplicate rows or elements.
33
New cards
exp()
Calculates the exponential value of a number.
34
New cards
factor()
Converts a vector into a factor (categorical variable).
35
New cards
for()
Creates a loop to repeat a task multiple times.
36
New cards
function()
Defines a custom function in R.
37
New cards
getwd()
Returns the current working directory.
38
New cards
glm()
Fits a generalized linear model.
39
New cards
gsub()
Replaces text patterns in a string.
40
New cards
head()
Displays the first few rows of a dataset.
41
New cards
help()
Opens documentation for a function.
42
New cards
hist()
Creates a histogram to show data distribution.
43
New cards
hms()
(Custom function) Likely handles time in hours, minutes, and seconds.
44
New cards
install.packages()
Installs R packages from CRAN.
45
New cards
intersect()
Finds common elements between two vectors.
46
New cards
is.na()
Checks for missing values (NA) in data.
47
New cards
las()
Controls the orientation of axis labels in plots.
48
New cards
legend()
Adds a legend to a plot.
49
New cards
length()
Returns the number of elements in a vector or list.
50
New cards
levels()
Gets or sets the levels of a factor.
51
New cards
library()
Loads an R package.
52
New cards
lines()
Adds lines to a plot.
53
New cards
list()
Creates a list (a collection of objects).
54
New cards
lm()
Fits a linear regression model.
55
New cards
ln()
(Custom function) Likely calculates the natural logarithm.
56
New cards
log()
Calculates the natural logarithm.
57
New cards
log10()
Calculates the base-10 logarithm.
58
New cards
ls()
Lists all objects in the current environment.
59
New cards
matrix()
Creates a matrix.
60
New cards
mean()
Calculates the average of a set of numbers.
61
New cards
median()
Calculates the middle value of a set of numbers.
62
New cards
merge()
Combines two datasets into one.
63
New cards
mosaicplot()
Creates a mosaic plot for categorical data.
64
New cards
ms()
(Custom function) Likely handles time in milliseconds.
65
New cards
mtext()
Adds text to the margins of a plot.
66
New cards
n()
(Custom function) Likely counts the number of rows or elements.
67
New cards

DELETE

DELETE

68
New cards
na.omit()
Removes rows with missing values.
69
New cards
names()
Gets or sets the names of an object.
70
New cards
nchar()
Returns the number of characters in a string.
71
New cards
options()
Sets or retrieves global R options.
72
New cards
par()
Sets graphical parameters for plots.
73
New cards
paste()
Combines strings with a separator.
74
New cards
paste0()
Combines strings without a separator.
75
New cards
plot()
Creates a basic graph or scatter plot.
76
New cards
points()
Adds points to a plot.
77
New cards
Points()
(Custom function) Likely adds points to a plot.
78
New cards
print()
Displays an object in the console.
79
New cards
punctuation()
(Custom function) Likely handles punctuation in text.
80
New cards

DELETE

DELETE

81
New cards
qqline()
Adds a reference line to a Q-Q plot.
82
New cards
qqnorm()
Creates a Q-Q plot for normality testing.
83
New cards
qqPlot()
Creates a Q-Q plot with additional features.
84
New cards
quantile()
Calculates quantiles of a dataset.
85
New cards
range()
Returns the minimum and maximum values of a dataset.
86
New cards
rbinom()
Generates random numbers from a binomial distribution.
87
New cards
read.csv()
Reads data from a CSV file into R.
88
New cards
read.data()
(Custom function) Likely reads data from a file.
89
New cards
rep()
Repeats a value or vector multiple times.
90
New cards
return()
Specifies the output of a function.
91
New cards
rexp()
Generates random numbers from an exponential distribution.
92
New cards
rm()
Removes objects from the environment.
93
New cards
rnorm()
Generates random numbers from a normal distribution.
94
New cards
round()
Rounds numbers to a specified number of decimal places.
95
New cards
rownames()
Gets or sets the row names of a matrix or data frame.
96
New cards
runif()
Generates random numbers from a uniform distribution.
97
New cards
sample()
Randomly samples elements from a vector.
98
New cards
sd()
Calculates the standard deviation of a dataset.
99
New cards
seq()
Generates a sequence of numbers.
100
New cards
set.seed()
Sets the random number generator seed for reproducibility.