Skip to content

Commit

Permalink
typo: changed growth_data into gdata (standardization)
Browse files Browse the repository at this point in the history
  • Loading branch information
Turdus committed Jan 24, 2017
1 parent e088106 commit fe7f182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/site_suitability.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ calculate_hti_change <- function(current_hti, future_hti){



create_basal_area_data <- function(growth_data, k=4){
badata <- aggregate(growth_data$dbh2012, by=list(SiteID=gdata$SiteID, species=gdata$species), NROW)
create_basal_area_data <- function(gdata, k=4){
badata <- aggregate(gdata$dbh2012, by=list(SiteID=gdata$SiteID, species=gdata$species), NROW)
badata <- as.data.frame(badata)
colnames(badata) <- c(colnames(badata)[-length(names(badata))], "BA")
badata$BA <- badata$BA * k
Expand Down

0 comments on commit fe7f182

Please sign in to comment.