Skip to content

Commit

Permalink
set trial_ref to factor()
Browse files Browse the repository at this point in the history
Closes #23
  • Loading branch information
adamhsparks committed May 30, 2020
1 parent e8cff18 commit fa40d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/slimming_PM_dat.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slim_PM_dat <- data.frame(
trial = paste(PM_MB_Mtemp$trial_ref, PM_MB_Mtemp$year,
PM_MB_Mtemp$location,PM_MB_Mtemp$host_genotype,
PM_MB_Mtemp$row_spacing, sep = "_"),
trial_ref = as.character(PM_MB_Mtemp$trial_ref),
trial_ref = as.factor(PM_MB_Mtemp$trial_ref),
year = as.integer(PM_MB_Mtemp$year),
host_genotype = PM_MB_Mtemp$host_genotype,
location = as.character(PM_MB_Mtemp$location),
Expand Down

0 comments on commit fa40d4d

Please sign in to comment.