Kaarten: stat 3 operators & functions | Quizlet

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

!

not

2
New cards

|

or

3
New cards

&

and

4
New cards

%in%

Equivalent to == . To select from a list, where telling if the elements are true or not with logical values

5
New cards

class()

function which shows the classification of data

6
New cards

mode()

function which shows how the data is used

7
New cards

exp()

exponentiation of e to a certain number

8
New cards

cumsum()

gives the cfreq

9
New cards

head() / tail()

gives the last or first 6 (by default) elements from the variable. n can be specified

10
New cards

which()

shows element number about what you specify ex. function(sales>100) gives sales above 100

11
New cards

recylcing rule

2 vectors with a different length, one of them will be repeating the command over the other one. this can only be done when they are the same length when repeated

12
New cards

floating point arithmetic

Performing simple calculations on more than one floating-point number stored in binary notation. this results in a rounding error

13
New cards

all.equal()

solution for floating-point arithmetic.

14
New cards

objects() / ls()

gives all stored variable names stored in global environment

15
New cards

ls.str()

Shows variables in memory, which kind of variables they are and their types

16
New cards

Inf

when something has an infinite value

17
New cards

NaN

not a number

18
New cards

NA

not available

19
New cards

NULL

no value

20
New cards

rbind()

creating a matrix by rows

21
New cards

cbind()

creating a matrix by columns

22
New cards

t()

transposing, turning a matrix the other way

23
New cards

as.factor()

converts data to factor data. Is useful for nominal data & makes levels out of the elements

24
New cards

$

for refering to a certain variable in a data frame

25
New cards

barplot()

staafdiagram

26
New cards

sapply()

implicit loop where FUN should be specified and X= . FUN will hold a certain function it applies to X

27
New cards

tapply()

implicit loop where INDEX holds a grouping variable. (ex. gender) over this grouping variable there will be a function applied where specified at FUN

28
New cards

by()

implicit loop where INDEX holds a grouping variable. (ex. gender) over this grouping variable there will be a function applied where specified at FUN

29
New cards

Nog leren (13)

Je hebt een begin gemaakt met het leren van deze termen. Hou vol!