• ClipSaver
  • dtub.ru
ClipSaver
Русские видео
  • Смешные видео
  • Приколы
  • Обзоры
  • Новости
  • Тесты
  • Спорт
  • Любовь
  • Музыка
  • Разное
Сейчас в тренде
  • Фейгин лайф
  • Три кота
  • Самвел адамян
  • А4 ютуб
  • скачать бит
  • гитара с нуля
Иностранные видео
  • Funny Babies
  • Funny Sports
  • Funny Animals
  • Funny Pranks
  • Funny Magic
  • Funny Vines
  • Funny Virals
  • Funny K-Pop

R Tutorial - Logical Operators and Vectors in R скачать в хорошем качестве

R Tutorial - Logical Operators and Vectors in R 10 лет назад

скачать видео

скачать mp3

скачать mp4

поделиться

телефон с камерой

телефон с видео

бесплатно

загрузить,

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
R Tutorial - Logical Operators and Vectors in R
  • Поделиться ВК
  • Поделиться в ОК
  •  
  •  


Скачать видео с ютуб по ссылке или смотреть без блокировок на сайте: R Tutorial - Logical Operators and Vectors in R в качестве 4k

У нас вы можете посмотреть бесплатно R Tutorial - Logical Operators and Vectors in R или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:

  • Информация по загрузке:

Скачать mp3 с ютуба отдельным файлом. Бесплатный рингтон R Tutorial - Logical Operators and Vectors in R в формате MP3:


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



R Tutorial - Logical Operators and Vectors in R

Want to learn more? Take the full course at https://learn.datacamp.com/courses/in... at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work. ---- The and operator works just as you would expect. It typically takes two logical values and returns `TRUE` only if both the logical values are `TRUE` themselves. This means that `TRUE and TRUE` evaluates `TRUE`, but that `FALSE and TRUE`, `TRUE and FALSE` and `FALSE and FALSE` all evaluate to `FALSE`. Instead of using logical values, we can off course use the results of comparisons. Suppose we have a variable `x`, equal to 12. To check if this variable is greater than 5 but less than 15, we can use x greater than 5 and x less than 15. As you already learned, the first part will evaluate to `TRUE`. The second part, will also evaluate to `TRUE`. So the result of this expression is `TRUE`. This makes sense, because 12 lies between 5 and 15. However, if `x` were equal to 17, the expression `x greater than 5 & x less than 15` would simplify to `TRUE and FALSE`. which results in this expression being `FALSE`. The OR operator (`|`) works similarly, but the difference is that only at least one of the logical values it uses should be equal to `TRUE` for the OR operation to evaluate to TRUE. This means that, `TRUE or TRUE` equals `TRUE`, but that also `TRUE | FALSE` and `FALSE | TRUE` evaluate to `TRUE`. When both logicals are `FALSE` in an OR operation, so in the case of FALSE or FALSE, the result is `FALSE`. Remember that the OR operation is not an exclusive or operation, `TRUE or TRUE` equals `TRUE` as well. Just as for AND operators, we can use comparisons together with the OR operator. Suppose we have a variable `y`, equal to 5 this time. To see if this variable is less than 5 or greater than 15, we can use this expression. R will first carry out the comparisons, resulting in TRUE or FALSE, which in turn results in `TRUE`. Now, let's have `y` equal 14. The expression y less than 5 or y greater than 15 now evaluates to FALSE | FALSE. Neither one of the comparisons are `TRUE`, so the result is `FALSE`. There's one last operator I want to talk about here, the NOT operator. The NOT operator, represented by an exclamation mark, simply negates the logical value it's used on. So exclamation mark TRUE evaluates to FALSE, while exclamation marks FALSE. evaluates to TRUE. Just as the OR and AND operators, you can use the NOT operator in combination with logical operators. This is not always necessary, however, because this line of code, is exactly the same as this one. However, there are cases in R where the NOT operator is really handy. For example, the built-in R function, `is.numeric()` checks if an R object is a numeric. As an illustration, take is.numeric(5), which evaluates to `TRUE`, as 5 is a numeric. If we negate this result using the NOT operator, !is.numeric(5) we get false. If, however, we type is.numeric("hello") we get `FALSE`. Negating this results in `TRUE`. Now, how do logical operators work with vectors and matrices? Well, just as relational operators, they perform the operations element-wise. The and operation on these two vectors results in a vector with the elements TRUE, FALSE and FALSE. The first elements in both vectors are `TRUE`, so the first element of the resulting vector contains TRUE. Similarly, for the second elements where `TRUE` and `FALSE` result in `FALSE`, and the third elements, where `FALSE` and `FALSE` give `FALSE`. A similar thing happens with the OR operator: `TRUE | TRUE` gives `TRUE`, `TRUE | FALSE` also gives `TRUE`, and `FALSE | FALSE` gives `FALSE`. The NOT operator also works on every element of the vector: `TRUE`s are converted to `FALSE`s, and `FALSE`s are converted to `TRUE`s. Now, there's one last thing I want to warn you about. It's about the difference between a single and a double ampersand or vertical bar. In R you can use both the single sign version or the double sign version, but the result of the logical operation you're carrying out can be different. The biggest difference occurs when you use the two types of operators on vectors. As we've seen before, this expression evaluates to a vector containing TRUE, FALSE and FALSE. However, if we use a double ampersand, we simply get `TRUE`. That's because the double ampersand operation only examines the first element of each vector. In this case, the first elements are `TRUE` and `TRUE`, so the expression returns `TRUE`. You can see similar things happening with the OR operator. The single sign version returns an entire vector. The double sign version returns only the result of the OR operator on the first element of each vector. Another difference between a single and a double ampersand that is less obvious has something to do with control structures, but that's more advanced material. #DataCamp #RTutorial #IntermediateR

Comments
  • R Tutorial :  Relational Operators in R 10 лет назад
    R Tutorial : Relational Operators in R
    Опубликовано: 10 лет назад
  • Introduction to R: Vectors 6 лет назад
    Introduction to R: Vectors
    Опубликовано: 6 лет назад
  • ХИТЫ 2026🔝Лучшая музыка 2026 🏖️ Зарубежные песни Хиты 🏖️ Популярные песни Слушать бесплатно 2026
    ХИТЫ 2026🔝Лучшая музыка 2026 🏖️ Зарубежные песни Хиты 🏖️ Популярные песни Слушать бесплатно 2026
    Опубликовано:
  • R tutorial - Learn R Programming
    R tutorial - Learn R Programming
    Опубликовано:
  • Китай объявляет войну / Авиация поднята по тревоге 3 часа назад
    Китай объявляет войну / Авиация поднята по тревоге
    Опубликовано: 3 часа назад
  • Задача из вступительных Стэнфорда 2 года назад
    Задача из вступительных Стэнфорда
    Опубликовано: 2 года назад
  • Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more 4 года назад
    Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more
    Опубликовано: 4 года назад
  • ХИТЫ 2025🔝Лучшая музыка 2025 🏖️ Зарубежные песни Хиты 🏖️ Популярные песни Слушать бесплатно 2025
    ХИТЫ 2025🔝Лучшая музыка 2025 🏖️ Зарубежные песни Хиты 🏖️ Популярные песни Слушать бесплатно 2025
    Опубликовано:
  • Introduction to R
    Introduction to R
    Опубликовано:
  • The Hairy Ball Theorem 2 дня назад
    The Hairy Ball Theorem
    Опубликовано: 2 дня назад
  • Курс Python с Абсолютного нуля! [12 часов из 80] Python курс - качественный старт для начинающих! 7 месяцев назад
    Курс Python с Абсолютного нуля! [12 часов из 80] Python курс - качественный старт для начинающих!
    Опубликовано: 7 месяцев назад
  • ✓ Введение в математический анализ. Множество действительных чисел | матан #001 | Борис Трушин 7 лет назад
    ✓ Введение в математический анализ. Множество действительных чисел | матан #001 | Борис Трушин
    Опубликовано: 7 лет назад
  • Декораторы Python — наглядное объяснение 2 месяца назад
    Декораторы Python — наглядное объяснение
    Опубликовано: 2 месяца назад
  • Программирование на R для начинающих – статистика с R (t-тест и линейная регрессия), dplyr и ggplot 8 лет назад
    Программирование на R для начинающих – статистика с R (t-тест и линейная регрессия), dplyr и ggplot
    Опубликовано: 8 лет назад
  • R tutorial - Using Factors in R 10 лет назад
    R tutorial - Using Factors in R
    Опубликовано: 10 лет назад
  • Выучите R за 39 минут 3 года назад
    Выучите R за 39 минут
    Опубликовано: 3 года назад
  • Условные операторы в R (If, Else If и Else) 5 лет назад
    Условные операторы в R (If, Else If и Else)
    Опубликовано: 5 лет назад
  • 30 самых прекрасных классических произведений для души и сердца 🎵 Моцарт, Бах, Бетховен, Шопен 1 месяц назад
    30 самых прекрасных классических произведений для души и сердца 🎵 Моцарт, Бах, Бетховен, Шопен
    Опубликовано: 1 месяц назад
  • Музыка под утренний кофе — зимний джаз и тепло 1 месяц назад
    Музыка под утренний кофе — зимний джаз и тепло
    Опубликовано: 1 месяц назад
  • Introduction to Programming and Computer Science - Full Course 5 лет назад
    Introduction to Programming and Computer Science - Full Course
    Опубликовано: 5 лет назад

Контактный email для правообладателей: u2beadvert@gmail.com © 2017 - 2026

Отказ от ответственности - Disclaimer Правообладателям - DMCA Условия использования сайта - TOS



Карта сайта 1 Карта сайта 2 Карта сайта 3 Карта сайта 4 Карта сайта 5