frank0434 / Master

repo for the master project - water stress for APSIMX lucerne model
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

norm_stats fun is not working #37

Open frank0434 opened 3 years ago

frank0434 commented 3 years ago

Error in [.data.table(p_stemwt$data, , unlist(lapply(.SD, norm_stats), : Column 3 of j's result for the first group is NULL. We rely on the column types of the first result to decide the type expected for the remaining groups (and require consistency). NULL columns are acceptable for later groups (and those are replaced with NA of appropriate type and recycled) but not for the first. Please use a typed empty vector instead, such as integer() or numeric()