Skip to content

Commit 7f77c40

Browse files
authored
Simplified number vector calls
1 parent 1e85241 commit 7f77c40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/Tutorial_NGFWI.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ data_fwi <- hFWI(data, utc)
8282
write.csv(data_fwi, 'wx_prf_fwi.csv')
8383

8484
# View a simple summary of the FWI outputs.
85-
View(summary(data_fwi[, c(20:29)]))
85+
View(summary(data_fwi[, 20:29]))
8686

8787
# Create a daily summary to determine the time of peak burn and
8888
# the number of hours of spread potential.
@@ -93,7 +93,7 @@ report <- generate_daily_summaries(data_fwi)
9393
# peak_isi_smoothed, ffmc, dmc, dc, isi, bui, fwi, dsr, sunrise, sunset
9494

9595
# View a simple summary of the daily report.
96-
View(summary(report[, c(5:15)]))
96+
View(summary(report[, 5:15]))
9797

9898
# From here, a user can convert the output data to a datatype of their choice or
9999
# continue with further visualizations within R.

0 commit comments

Comments
 (0)