inst/dev-files/tasnumeric.R

# test name retention with as.numeric
# 161018
start <- c(one=1, two=2)
str(start)
s1 <- as.numeric(start)
str(s1)
names(s1)<-names(start)
str(s1)
strt2 <- as.matrix(start)
str(strt2)
s21 <- as.numeric(strt2)
s21
str(s21)
savehistory("tasnumeric.R")

Try the nlsr package in your browser

Any scripts or data that you put into this service are public.

nlsr documentation built on Nov. 23, 2021, 3:01 a.m.