Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Призначення Змінних | Базовий Синтаксис та Команди
Вступ до R: Частина 1
course content

Зміст курсу

Вступ до R: Частина 1

Вступ до R: Частина 1

1. Базовий Синтаксис та Команди
2. Вектори
3. Фактори

Призначення Змінних

У програмуванні різні мови та середовища пропонують різні способи присвоєння значень змінним.

У R доступні специфічні оператори присвоєння, такі як <- та ->, поряд з більш універсально визнаним оператором =. На даному етапі різниця між цими операторами не є значною, але ми повернемося до цього питання при обговоренні функцій.

Завдання

  1. Use the 'equal' (=) operator to assign the result of integer division of 29 by 8 to the variable named equal.
  2. Use the 'left-arrow' (<-) operator to assign the remainder of the division of 29 by 8 to the variable left.
  3. Use the 'right-arrow' (->) operator to assign the equal variable raised to the power of left to the right variable.
  4. Display all three variable values in the order they were created with the cat() function.

Завдання

  1. Use the 'equal' (=) operator to assign the result of integer division of 29 by 8 to the variable named equal.
  2. Use the 'left-arrow' (<-) operator to assign the remainder of the division of 29 by 8 to the variable left.
  3. Use the 'right-arrow' (->) operator to assign the equal variable raised to the power of left to the right variable.
  4. Display all three variable values in the order they were created with the cat() function.
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 1. Розділ 10
toggle bottom row

Призначення Змінних

У програмуванні різні мови та середовища пропонують різні способи присвоєння значень змінним.

У R доступні специфічні оператори присвоєння, такі як <- та ->, поряд з більш універсально визнаним оператором =. На даному етапі різниця між цими операторами не є значною, але ми повернемося до цього питання при обговоренні функцій.

Завдання

  1. Use the 'equal' (=) operator to assign the result of integer division of 29 by 8 to the variable named equal.
  2. Use the 'left-arrow' (<-) operator to assign the remainder of the division of 29 by 8 to the variable left.
  3. Use the 'right-arrow' (->) operator to assign the equal variable raised to the power of left to the right variable.
  4. Display all three variable values in the order they were created with the cat() function.

Завдання

  1. Use the 'equal' (=) operator to assign the result of integer division of 29 by 8 to the variable named equal.
  2. Use the 'left-arrow' (<-) operator to assign the remainder of the division of 29 by 8 to the variable left.
  3. Use the 'right-arrow' (->) operator to assign the equal variable raised to the power of left to the right variable.
  4. Display all three variable values in the order they were created with the cat() function.
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 1. Розділ 10
toggle bottom row

Призначення Змінних

У програмуванні різні мови та середовища пропонують різні способи присвоєння значень змінним.

У R доступні специфічні оператори присвоєння, такі як <- та ->, поряд з більш універсально визнаним оператором =. На даному етапі різниця між цими операторами не є значною, але ми повернемося до цього питання при обговоренні функцій.

Завдання

  1. Use the 'equal' (=) operator to assign the result of integer division of 29 by 8 to the variable named equal.
  2. Use the 'left-arrow' (<-) operator to assign the remainder of the division of 29 by 8 to the variable left.
  3. Use the 'right-arrow' (->) operator to assign the equal variable raised to the power of left to the right variable.
  4. Display all three variable values in the order they were created with the cat() function.

Завдання

  1. Use the 'equal' (=) operator to assign the result of integer division of 29 by 8 to the variable named equal.
  2. Use the 'left-arrow' (<-) operator to assign the remainder of the division of 29 by 8 to the variable left.
  3. Use the 'right-arrow' (->) operator to assign the equal variable raised to the power of left to the right variable.
  4. Display all three variable values in the order they were created with the cat() function.
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

У програмуванні різні мови та середовища пропонують різні способи присвоєння значень змінним.

У R доступні специфічні оператори присвоєння, такі як <- та ->, поряд з більш універсально визнаним оператором =. На даному етапі різниця між цими операторами не є значною, але ми повернемося до цього питання при обговоренні функцій.

Завдання

  1. Use the 'equal' (=) operator to assign the result of integer division of 29 by 8 to the variable named equal.
  2. Use the 'left-arrow' (<-) operator to assign the remainder of the division of 29 by 8 to the variable left.
  3. Use the 'right-arrow' (->) operator to assign the equal variable raised to the power of left to the right variable.
  4. Display all three variable values in the order they were created with the cat() function.
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 1. Розділ 10
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt