Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Transform ggplot2 Plot Axis to log10 Scale in R | Convert to Logarithm Base 10 | scale_x_continuous в хорошем качестве

Transform ggplot2 Plot Axis to log10 Scale in R | Convert to Logarithm Base 10 | scale_x_continuous 3 года назад


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



Transform ggplot2 Plot Axis to log10 Scale in R | Convert to Logarithm Base 10 | scale_x_continuous

How to convert the axis of a ggplot2 graph to a logarithmic scale in the R programming language. More details: https://statisticsglobe.com/transform... Note that the example shown in this video has only changed the values in our ggplot2 scatterplot. The axis tick marks have not been transformed to a log10 scale. Depending on how the data should be illustrated, you may prefer to show the x-axis tick marks as log10 scale as well. Have a look at Example 2 at the previous link for more details. R code of this video: set.seed(293847) # Create example data data <- data.frame(x = rnorm(100, 60, 5), y = rnorm(100, 80, 7)) install.packages("ggplot2") # Install & load ggplot2 library("ggplot2") ggp <- ggplot(data, aes(x, y)) + # Create default ggplot2 plot geom_point() ggp # Draw ggplot2 plot ggp + # Transform x-axis to log10 scale_x_continuous(trans = "log10") + xlab("x-log10") Follow me on Social Media: Facebook:   / statisticsglobecom   LinkedIn:   / statisticsglobe   Patreon:   / statisticsglobe   Pinterest: https://www.pinterest.de/JoachimSchork Reddit:   / joachimschork   Twitter:   / joachimschork  

Comments