Answers for "print in r"

R
2

print in r

cat(c("hello", "world", "\n"))
Posted by: Guest on January-07-2021
0

print in r

> x <- 10.4678
> print(x,digits=3)
[1] 10.5
Posted by: Guest on May-24-2020
0

print in r

cat(c("hello", "world", "\n"))
#hello world
Posted by: Guest on May-24-2020
0

print in r

> a=c(1,2,NA,4,NA,6,7)
> a
[1]  1  2 NA  4 NA  6  7
> print(a,na.print="-999")
[1]    1    2 -999    4 -999    6    7
Posted by: Guest on May-24-2020

Browse Popular Code Answers by Language