Relative Content

Tag Archive for rloops

Error in eval(substitute(list(…)), `_data`, parent.frame()) : object ‘start_lat’ not found

I am a really new R programming user and I am trying to figure this problem out. I am trying to use a loop to go through a list of tables that I imported and am trying to clean. I am trying to set 4 of the columns to as.numeric() because when the data was in .csv format some of the cells were in as character format. I have tried to look up the error itself which is the following:

Error in eval(substitute(list(…)), `_data`, parent.frame()) : object ‘start_lat’ not found

I am a really new R programming user and I am trying to figure this problem out. I am trying to use a loop to go through a list of tables that I imported and am trying to clean. I am trying to set 4 of the columns to as.numeric() because when the data was in .csv format some of the cells were in as character format. I have tried to look up the error itself which is the following:

Need to run a function over list of dataframes in R

I have around 30 dataframes with varying number of samples, but same metadata columns. For example, the columns are Sample ID,Date of collection,Place of collection,Days since sample collection to mention a few.