Some Basic Tips


Dataset Files

gender id race ses schtyp prgtype read write math science socst

0 70 4 1 1 general 57 52 41 47 57

1 121 4 2 1 vocati 68 59 53 63 31

0 86 4 3 1 general 44 33 54 58 31

0 141 4 3 1 vocati 63 44 47 53 56

gender,id,race,ses,schtyp,prgtype,read,write,math,science,socst

0,70,4,1,1,general,57,52,41,47,57

1,121,4,2,1,vocati,68,59,53,63,61

0,86,4,3,1,general,44,33,54,58,31

0,141,4,3,1,vocati,63,44,47,53,56

 

 

Using > dim(dataset name), we get the dimensions of the dataset, i.e., the number of observations(rows) and variables(columns)

Using > str(dataset name), we get the structure of the dataset, including the class(type) of all variables