New game
Download
Get Academic Plan
Share game
Fill in the Blanks
Fill in the Blanks

Factores R

Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Factores R

Fill in the Blanks

Played 3 %Accuracy 192 Average time 05:59

About this activity

Factores

Created by

Spain

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Factores R
 

Fill in the Blanks

Factores ROnline version

Factores

by María Dolores 1 Lage Veiga
1

categóricos descriptivas factor auto vector expresamente datos etiquetas indicarlo codificado otro estructura automáticamente

Factores :
Utilizar factores con es preferible a utilizar enteros porque las etiquetas son - .
Supongamos que el sexo indica el sexo de un persona como 0 si hombre y 1 si mujer
sexo < - c ( 0 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 1 )
sexo
## [ 1 ] 0 1 1 1 0 0 1 0 1
table ( sexo )
## sexo
## 0 1
## 4 5
guardaremos los datos en una tipo :
sexo2 < - factor ( sexo , labels = c ( " hombre " , " mujer " ) ) ; sexo2
## [ 1 ] hombre mujer mujer mujer hombre hombre mujer hombre mujer
## Levels : hombre mujer
levels ( sexo2 ) # devuelve los niveles de un factor
## [ 1 ] " hombre " " mujer "
unclass ( sexo2 ) # representación subyacente del factor
## [ 1 ] 1 2 2 2 1 1 2 1 2
## attr ( , " levels " )
## [ 1 ] " hombre " " mujer "
table ( sexo2 )
## sexo2
## hombre mujer
## 4 5
Veamos otro ejemplo , en el que inicialmente tenemos . Los niveles se toman por orden alfabético
respuestas < - factor ( c ( 'si' , 'si' , 'no' , 'si' , 'si' , 'no' , 'no' ) )
respuestas
## [ 1 ] si si no si si no no
## Levels : no si
Si deseásemos orden ( lo cual puede ser importante en algunos casos , por ejemplo para representaciones gráficas ) , habría que
respuestas < - factor ( c ( 'si' , 'si' , 'no' , 'si' , 'si' , 'no' , 'no' ) , levels = c ( 'si' , 'no' ) )
respuestas
## [ 1 ] si si no si si no no
## Levels : si no

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.