R/importorigin.R

# import data from origin ITC data sheet exported to .csv files
# input: file name as string for x
# output: list of vectors for each column in the .csv file, with names maintained. 
importorigin=function(x){
	options(warn=-1); # suppress warning messages
	itcdata1=read.csv(x, colClasses="character");
	itcdata2=lapply(itcdata1, as.numeric);
	# generates warning messages as filling uneven columns with NAs
	itcdata3=lapply(itcdata2, rmlastna);
}

Try the Ritc package in your browser

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

Ritc documentation built on May 2, 2019, 5:42 a.m.