bird_wide.data: Creates wide data frame for Point Count data

Description Usage Arguments Value Examples

View source: R/bird_wide.data.r

Description

For the output of add.zeros(). This function turns the dataframe from a long formate to wide formate and adds a richness column.

Usage

1
2
3
bird_wide.data(df, distanceWide,
  transect = c(levels(as.factor(df$Transect))),
  surveyyear = c(levels(as.factor(df$YEAR))))

Arguments

df

is a dataframe. Only works with newpc2 created by add.zeros() and it's previous steps.

Value

Data frame with the is the wide version of newpc2 with added column of Richness

Examples

1

pointblue/RMN.functions documentation built on April 17, 2020, 3:24 a.m.