Hello,
> But I keep getting this error:
> Error in model.frame.default(formula = i ~ GC, data = gc2) :
> variable lengths differ (found for 'GC')
Simple: you are using a variable's name, not the variable itself
Your code corrected should be
res <- NULL
for(i in colnames(gc2[,-1])){
te
Hello,
I have a data file that I want to run loess on for 36 columns, divide the
original data by the new data, then dividing columns that end in A and B by
those that end in C. However, I have something wrong in my first step and
am completely stuck on the third. Could someone help me please?
2 matches
Mail list logo