DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
R new column t test p-value
data$PValue = apply(data, 1, function(x) t.test(x[1:3], x[4:6])$p.value)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#R
#column
#test
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit