DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
r code mutate
starwars
%>%
select
(
name
,
mass
,
species
)
%>%
mutate
(
mass_norm
=
mass
/
mean
(
mass
,
na.rm
=
TRUE
)
)
Source by dplyr.tidyverse.org #
PREVIOUS
NEXT
Tagged:
#code
#mutate
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit