Introduction

Species richness, defined as the total number of species in a unit of area (Brown et al. 2007), is a parameter of some concern in conservation biology, biogeography and community ecology (Royle and Dorazio 2008). It is the simplest way to describe community and regional diversity (Magurran 2004). A vast amount of ecological research has been undertaken using species richness as a measure to understand what affects, and is affected by, biodiversity. At the small spatial scale, species richness is generally used as a measure of diversity within a single ecological community, habitat or microhabitat (Brown et al. 2007). These authors cite as main factors of small-scale variation in species richness: (1) geographic factors; (2) biotic factors such as competition or predation; and (3) abiotic factors, such as temperature and salinity. Since probability of detection differs among species, all measures of species richness have a positive correlation with sample size (Silvy 2012); therefore, it is important to also take the effects of abundance into account (Magurran 2004).

Among the main ways to analyze species richness are diversity indices (Hubálek 2000) and numerical modeling (Royle and Dorazio 2008). The trouble with diversity indices is that there are several to choose from (Margalef 1958; Menhinick 1964; McIntosh 1967; etc.). Alternatively, in numerical modeling, species richness can be characterized by a Poisson distribution and the variation in the latent ecological process described statistically by covariates (Royle and Dorazio 2008; Kinas and Andrade 2010). This is the approach used here.

Much of contemporary ecological theory, conservation biology and natural resource management are further concerned with variation in the abundance of species (Royle and Dorazio 2008). While richness shows which individual species are present in space and time (Brown et al. 2007), the abundance of individuals associated with other parameters governs the dynamics of this process (Royle and Dorazio 2008). The typical distribution assumed for modeling abundance is also Poisson. Other widely used discrete distributions are Binomial and Negative Binomial. Among continuous distributions, the Normal, log-Normal and Gamma can be cited (Kéry 2010).

Statistical analysis of ecological data with generalized additive models (GAMs) has been recognized as a powerful statistical tool for exploratory data analysis (Schoeman and Richardson 2002; Venables and Dichmont 2004; Guisan and Thuiller 2005; Dalla Rosa et al. 2012). Despite the versatility of linear models (LMs) and generalized linear models (GLMs) for data analysis and prediction, the restriction to a linear structure in the covariates is, however, a limitation, circumvented by GAMs. This is so because GAMs go a step further and use smoothed functions (splines) to model nonlinear relationships for some or all the explanatory variables (Hastie and Tibshirani 1990; Wood 2006a).

The statistical analyses of LMs, GLMs and GAMs can be made by conventional maximum likelihood inference (Edwards 1972) or, alternatively, by Bayesian methods (Gelman et al. 2013). For LMs and GLMs, both approaches (classical and Bayesian) are already widely used in ecology and environmental science (Faraway 2006; Royle and Dorazio 2008). Comparatively, Bayesian GAMs are still rare and are, therefore, a methodological highlight in the present work.

The growing interest in Bayesian statistics in many fields of applied sciences, particularly ecology, is partially explained by (the Bayesian) definition of probability as a coherent metric for uncertainty, combined with the conceptually rigorous structure of statistical inference defined plainly as decision-making in the presence of uncertainty—in contrast to the largely ad hoc procedures of conventional frequentist statistics (Lindley 2000). The popularization of specialized software to perform complex mathematical operations required in some Bayesian numerical calculations further helps explain this expansion in ecology (McCarthy 2007; Kinas and Andrade 2010).

Sandy beaches constitute most of the coastal areas of the word, with surf zones characterized as the area between the outer limit of the breaking waves and the beach shoreline (Brown and McLachlan 1990). Studies of the ichthyofauna in marine surf zones have reported that these fish assemblages are highly variable and dominated by a small number of species made up largely of juveniles (Ayvazian and Hyndes 1995; Gibson et al.1996; Vasconcellos et al. 2007). Similar to estuarine beaches, marine surf zones are recognized as important nursery areas for several species (Bell et al. 2001; Strydom and d’Hotman 2005), and the recruitment variability in these habitats is related to a wide range of biotic and abiotic factors (e.g., food supply, predation risk, temperature and salinity) (Taylor et al. 2007; Haynes et al. 2010; Able et al. 2011).

Systematic long-term sampling programs contain valuable information to characterize most assuredly the community structure and simultaneously monitor changes in medium term (months) and long term (years). Rare or irregular events that affect fish populations, but are spread over large time intervals, can only be evaluated by long-term studies. This study uses a 16-year long database of the ichthyofauna inhabiting the surf zone of a sandy beach in southern Brazil. Our working hypothesis is that variations in the surf-zone fish assemblage richness as well as changes in abundance of selected groups of species show associations, not necessarily linear, with environmental factors and that these features can be captured by GAMs.

Materials and methods

Study area

This study focuses on Cassino Beach, located in southern Brazil (32°10′S, 52°20′W) (Fig. 1). Cassino is a subtropical sandy beach strongly influenced by seasonal variation in physico-chemical parameters. In general, observed temperatures and salinities are significantly higher in summer than in winter (Lima and Vieira 2009). Along this beach, the morphodynamic stages vary between dissipative and reflective and are seasonally influenced by the action of winds and waves, which affect the dynamics of the surf zone (Calliari et al. 2001); additionally, freshwater flow from the Patos Lagoon into the adjacent coastal marine area that may increase during periods of rain (Moresco and Bemvenuti 2006) and El Niño (Garcia and Vieira 2001).

Fig. 1
figure 1

Location of the two sites (CB1, CB2) where samplings from the surf zone of Cassino Beach, Rio Grande, RS, were performed, during the study period (1996–2012)

Data description

Samples were collected monthly in shallow waters (depth <20 m) from January 1997 to August 2012 at two fixed stations (1) CB1 (near Molhe Oeste) and (2) CB2 (near Estação Marinha de Aquacultura—EMA/FURG) (Fig. 1). From August to December of 1996, samples were collected only at station CB1. The sampling procedure is part of a long-term ecological research project (ICTIO/PELD CNPq-MCT, 1996–2012). The beach morphologies at both stations are the same; but CB1 is situated close to the outlet of the Patos Lagoon, being more sheltered in comparison with CB2 situated about 10 km south of this outlet.

Biological samplings (n = 5 hauls(site)−1(month)−1) were performed at each site using a 9-m beach seine (13-mm bar mesh in the wings and 5 mm in the center). All applicable institutional and national guidelines for the care and use of animals were followed. Samplings had the “authorization for scientific purpose activities” n° 17762-1 of IBAMA-SISBIO. Specimens were fixed in formalin in the field, due to long time gap between sampling and the identification process to the lowest possible taxonomic level conducted in the laboratory. Along with biological sampling, measurements on water conditions (temperature, salinity and transparency) were made in situ. Data on flow of the three main rivers of the Patos–Mirim system (Jacuí, Taquari, Camaquã) for the study period (1996-2012) were obtained with the National Water Agency (ANA—hidroweb.ana.gov.br). The monthly discharges of these three rivers combined correspond to 70 % of flow throughout the watershed (Vaz et al. 2006). Therefore, it was used as an indicator of the flow of the Patos Lagoon Estuary into the surf zone of Cassino Beach. Monthly values of zonal (east–west) and meridional (north–south) wind components at the sea surface (32°S; 52°W) were obtained from the Division of Environmental Sciences Research Centre for Fisheries of NOAA (“National Oceanic and Atmospheric Administration”—http://las.pfeg.noaa.gov/las6_5/servlets/dataset).

Data analysis

Fluctuations in total abundance and species richness of fish in the surf zone of Cassino Beach over the past 16 years were associated with the covariates month, year, location, surface water temperature in  °C (temperature), water salinity (salinity), water transparency in cm (transparency) (Secchi), zonal wind component in m(s)−1 (zonal), meridional wind component in m(s)−1 (meridional) and flow of the three main rivers of the Patos-Mirim system in m3(s)−1: Jacuí (jacui), Taquari (taquari), Camaquã (camaqua); totaling 11 covariates. The model for species richness had additionally added the covariate abundance (monthly total number of collected specimens).

GAMs with a linear predictor composed of q linear components and k smooth functions are defined as.

$$ {\text{g}}(\mu_{i} ) = \beta_{0} + \beta_{1} z_{1i} + \cdots \beta_{q } z_{qi} + f_{1 } \left( {x_{1i} } \right) + \cdots f_{k } \left( {x_{ki} } \right) $$

where μ i  = E(Y i ) and Y i has some distribution from the exponential family with associated known link function \( {\text{g}} \). While Y i denotes some response variable (in our context species richness and abundance), \( z_{1i} , \ldots , z_{qi} \) and \( x_{1i} , \ldots ,\, x_{qi} \) are \( q + k \) covariates, the former (z) being modeled with a strictly parametric model and the latter (x) with smooth functions.

The Bayesian fits of the GAMs were conducted in the free software BayesX, version 2.0.1 (Belitz et al. 2009), which uses penalized regression splines (P-splines) as smooth functions (Eilers and Marx 1996). In this approach, it is assumed that the unknown smooth functions f j can be approximated by a spline of degree l with equally spaced knots \( X_{j,\hbox{min} } = \zeta_{j0} < \,\zeta_{j1} < \, = \, < \,\zeta_{j,r - 1} \, < \,\zeta_{jr} \, = \,X_{j,\hbox{max} } \) This spline can be written in terms of a linear combination of m = r + l B-spline basis functions \( B_{jp} \), which in turn are known and calculable functions for each value in the domain x j , that is,

$$ f_{j } (x_{j} ) = \mathop \sum \limits_{p = 1}^{m} \beta_{jp} B_{jp } (x_{j} ) $$

Following the Bayesian approach, second-order random walks were used as priors for the coefficients, i.e., for \( p > 2, \;\beta_{jp} \) are given by: \( \beta_{jp} = 2\beta_{jp - 1} - \beta_{jp - 2} + u_{jp} \) with Gaussians errors \( u_{jp} \sim N (0, \tau_{j}^{2} ) \) and diffuse priors \( p\left( {\beta_{1} } \right) \propto {\text{const}} \), \( p\left( {\beta_{2} } \right) \propto {\text{const}} \) and \( p\left( {\tau_{j} } \right)\sim {\text{IG}}\left( {0.001, 0.001} \right) \) with \( {\text{IG}}\,(a,b) \) denoting an inverse-gamma distribution. The degree of smoothness is controlled by the variances \( \tau_{\text{j}}^{2} \), which correspond to the inverse of the parameter λ 2 that is used in the cross-validation technique of the classical approach (Lang and Brezger 2004). The joint posterior distribution for the set of parameters \( \left( {\alpha_{*} ,\;\beta_{**} ,\;\tau_{*} } \right) \) was obtained with Markov Chain Monte Carlo (MCMC) stochastic simulation by the Metropolis–Hastings algorithm. For a chain of 12,000 values, the first 2,000 were discarded to eliminate the dependence of the initial value (burn-in period) after which each tenth value was retained (thinning) to achieve independence between sampled values (Kinas and Andrade 2010). Standard diagnostic tools were applied in preliminary analyses to check for MCMC convergence (Gelman et al. 2013).

For model comparison, the Deviance information criterion (DIC) was used (Spiegehalter et al. 2002). By this criterion, regarding predictive power, models with smaller value of DIC are better. A difference in DIC of at least two units can be considered indication of superior fit for the model with the lowest DIC (Spiegehalter et al. 2002).

Species richness

Species richness was analyzed by a Poisson model for the count data of number of species per area \( (Y_{i} ) \), with the natural logarithm as link function.

$$ Y_{i} \sim {\text{Poi }}(\mu_{i} ) $$
$$ {\text{g}}(\mu_{i} ) = {\text{log}}(\mu_{i} ) = \eta_{i} = \beta_{0} + f_{1 } \left( {x_{1i} } \right) + f_{2 } \left( {x_{2i} } \right) + f_{3 } \left( {x_{3i} } \right) + \cdots f_{k } \left( {x_{ki} } \right) $$

Models with different combinations of covariates were fitted. The adequacy of each variable to a spline function or a linear structure was evaluated visually at first. When for some covariate x j a linear structure was suspected, another fit after replacing f j (x ji ) by α j x ji was performed and both alternatives compared by DIC.

Species abundance

For the analysis of abundance with all species combined, there is a chance that abundance remains nearly constant, while species composition keeps changing. Therefore, to analyze abundance fluctuations more carefully, we adopted the following strategy: (1) work only with species that had at least 10 % frequency of occurrence in the total database; (2) calculate some matrix of dissimilarity among the species; (3) identify subsets of species characterized by a low dissimilarity; and (4) perform abundance modeling for each identified subset of species.

The aim was to create groups of species that have a tendency to have occurred together over time during the period of data collection. We then hypothesized that, because of their persistent co-occurrence, they should display similar responses to factors that may influence their abundance.

Cluster analysis of species

Cluster analysis was performed using the multivariate ordination method of metric multidimensional scaling (MDS) and the Jaccard similarity index based on a presence (1) and absence (0) matrix (i.e., the similarity between two species increases with growing numbers of co-occurrences) (Hardle and Simar 2007). The Jaccard similarity index has been widely used in studies of presence–absence (Romesburg 1984). The metric MDS finds the spatial configuration of points by algebraic reconstruction, taking into account the dissimilarities between these points, where the dissimilarities are Euclidean distances (Chatfield and Collins 1980). Calculations were performed with the free software Past (Hammer et al. 2001), version 2.17b.

Models for abundance

For each group of species identified by MDS, abundance was modeled by GAMs. A Gaussian distribution with identity link function was used to model the total number of individuals (Y i ). Because the number of individuals is sometimes very large, the Gaussian distribution combined with the identity link serves here as an approximation to the Poisson and showed a numerically more stable performance at fitting.

$$ Y_{i} \sim N (\mu_{i} ,\sigma_{i} ) $$
$$ {\text{g}}(\mu_{i} ) = \eta_{i} = \beta_{0} + f_{1 } \left( {x_{1i} } \right) + f_{2 } \left( {x_{2i} } \right) + f_{3 } \left( {x_{3i} } \right) + \cdots f_{k } \left( {x_{ki} } \right) $$

Models with different combinations of variables were tested. The adequacy of each covariate to either a spline function or a linear structure was evaluated as previously described.

Results

List of species

During the study period, 171,737 individuals were collected at 343 sampling occasions. Sixty-four taxa were found, nine identified only to the family level, and 55 identified to the species level. The eight most abundant species, Mugil liza, Trachinotus marginatus, Mugil curema, Brevoortia pectinata, Mugil sp, Odontesthes argentinensis, Menticirrhus littoralis and Atherinella brasiliensis, comprise 97.1 % of all individuals captured. Regarding the frequency of occurrence, 13 species were present in at least 10 % of the samples (Table 1).

Table 1 Abundances and relative frequencies of the species that occurred in at least 10 % of the samples collected in the surf zone of Cassino Beach (1996–2012)

Species richness

The best GAM for species richness models richness as a function of month, year, transparency, temperature, salinity, jacui, taquari, camaqua and abundance (Model 1—Table 2). The results show that, on a monthly scale, the number of species displays seasonal variation, being higher especially in the austral summer months, with a decrease starting in April and increasing again from October onwards. In the long term (annual scale), species richness shows a decreasing trend (Fig. 2).

Table 2 Composition of covariates for the best models for species richness (Model 1) and abundance (Model 2—Group A, Model 3—Group B)
Fig. 2
figure 2

Posterior means (central line) and credibility intervals of 80 % (dotted) and 95 % (outer lines) of P-splines related to the variables a month, b year, c surface water temperature and d logarithm of the total abundance, of the model that describes species richness

Among the abiotic covariates, only temperature affects variations in species richness, with peak of species richness occurring between 20 and 25 °C (Fig. 2). Flows jacui and camaqua display a positive linear association with the number of species. Variables salinity, transparency and taquari also have a linear relationship but with slope close to zero, indicating that individually their influence is nonsignificant. Nevertheless, they were maintained in the model because, in combination with other covariates, they improved the predictive power of the model decreasing the DIC (Table 2). Species richness was positively associated with abundance until about 1,000 individuals after which in flattens out (Fig. 2).

The sampling site (location), as well as the zonal and meridional wind components, was not included in the model, because they increased the DICs. This indicates that sampling stations as well as values of wind components do not help explain variations in species richness.

Species abundance

Cluster analysis

Two distinct groups were formed by MDS (Fig. 3), with the first two axes synthesizing about 40 % of the data variation. Group A is composed of species Lycengraulis grossidens, Menticirrhus americanus, Micropogonias furnieri, Oncopterus darwinii and Platanichthys platana, and Group B of A. brasiliensis, B. pectinata, M. littoralis, M. curema, M. liza, M. sp, O. argentinensis and T. marginatus.

Fig. 3
figure 3

Results of MDS cluster analysis for the 13 mostly occurring species in the database (those which occurred in at least 10 % of samples). The species to the right of coordinate 1 (y axis) were denoted as “Group A” and species to the left as “Group B”

Group A

On a monthly scale, the abundance of species that composes Group A is higher in warmer months and lower during colder autumn–winter months, with the decrease starting in April, remaining stable with low abundance until August, when abundance increases again (Fig. 4). The covariate year enters the best model as a linear component, but with slope close to zero (Model 2—Table 2), indicating that the abundance of this group of species has remained stable over the years (1996–2012).

Fig. 4
figure 4

Posterior means (central line) and credibility intervals of 80 (dotted) and 95 % (outer lines) of P-splines related to the variables a month and b water salinity, for the model which describes the abundance of species of Group A

Regarding temperature, a slight oscillation around an optimum of 20 °C was found, with abundances decreasing toward the extremes. Abundance decreases with increasing salinity (Fig. 4), which is associated negatively with transparency and positively with the jacui river discharge (Model 2—Table 2).

Group B

For species of group B, the covariate month has a negative linear relationship with negative slope, indicating that in the first months of the year abundance is higher (Model 3—Table 2). In the long term (year), Group B shows a decreasing trend in abundance (Fig. 5).

Fig. 5
figure 5

Posterior means (central line) and credibility intervals of 80 (dotted) and 95 % (outer lines) of P-splines related to the variables a year and b water salinity, for the model which describes the abundance of species of Group B

This group further displays an increase in mean abundance at salinities from 25 upwards (Fig. 5). However, we point out that the variances in both tails are large; this is due to the fact that there were few sampled points with extreme salinities (≤5; 35≥). Group B also has a positive association with temperature. The variables transparency, taquari and camaqua were included in the best fitted model because they impacted reduction of DIC, although individually their influence on changes in mean abundance is unclear (Model 3—Table 2).

Discussion

To understand which factors drive the spatial and temporal patterns in communities is a central goal of ecology. This study emerges as one of few to investigate this phenomenon with the use of Bayesian generalized additive models. To our knowledge, this is the first such approach to be published with data from Brazil. While there are several papers describing the formal development of these models (Denison et al. 1998; Lin and Zhang 1999; Fahrmeir and Lang 2001; Spiegehalter et al. 2002; Lang and Brezger 2004; Wood 2006b), there are still only a few with applications. Examples are Guisan and Zimmermann (2000) and Phillips et al. (2006), who applied these models to describe geographic distribution of species.

The models, fitted here with P-splines (Eilers and Marx 1996; Lang and Brezger 2004), proved very amenable to the study of species richness and abundance because direct visual inspection of nonlinear relationships and predictive power of covariates can be evaluated simultaneously. The nontrivial influence of sample size up to about 1,000 specimens on the observed species richness was handled easily by simply including abundance as a covariate into the model. The rarefaction technique is the most consecrated method in the comparison of the number of taxa in samples of different size (Krebs 1989). However, only the sampling effort (usually expressed as the total abundance of species) is considered as a covariate by this technique. Until recently, the comparison of the richness-to-sampling effort ratio considering environmental variables was only performed for linear models. However, since this relationship is clearly nonlinear, GAMs are an excellent replacement for the rarefaction technique when comparing species richness between different sampling units.

One fundamental pattern concerning life on Earth is the decrease of biological diversity from the equator toward the poles (Willig et al. 2003). This helps to explain why tropical oceans are in general biologically diverse, while coastal regions of temperate and polar zones are highly productive but less diverse (Caddy and Sharp 1986). In Brazil, there are higher numbers of species recorded in the surf zones on tropical beaches (Itamaracá (PE)—95 species (Santana and Severi 2009); Cabuçu (BA)—63 species (Silva et al. 2008); São Francisco do Itabapoana (RJ)—68 species (Gomes et al. 2003)) than on the subtropical beach of the present study (55 species). However, all share the same striking feature of only a few dominant species. This peculiarity had already been recognized by Modde and Ross (1981), when they say that “surf-zones are dominated by a small group of species, and this organization remains constant over wide geographic areas.”

Surf zones, especially for sandy beaches, are uniform habitats characterized by low primary productivity (Knox 2001; McLachlan and Brown 2006). Thus, the abiotic factors seem to be the main components that drive the structure and composition of the communities in these habitats. This similarity in abiotic conditions explains the absence of sampling station effect in our study, corroborating Rodrigues and Vieira (2012), who also reported insignificant differences in the abundance and diversity of fish between these two locations, using another analytic approach.

Groups A and B of species were characterized on their co-occurrence. The pattern that emerged seems to be associated mainly with salinity and seasonality. While species in group A were shown to be more abundant in less salty waters, those in Group B had their abundance increased with increasing salinity. Species of Group A can be further described as occasional, only appearing in specific seasons of the year (M. furnieri and L. grossidens in Summer and Autumn, and M. americanus and O. darwinii, in Spring and Summer (Lima and Vieira 2009)); in contrast, species in Group B (A. brasiliensis, B. pectinata, M. littoralis, M. curema, M. liza, M. sp, O. argentinensis, T. marginatus) are usually present in the surf zone all year long (Lima and Vieira 2009).

Monteiro-Neto et al. (2003) for samples conducted from March 1980 to February 1982 found seven groups (A to G) in this surf zone using inverse cluster analysis and taking into account 24 species. Group C of their study has resemblance to our Group A, and their groups F and G together resemble our Group B. The time lag between both studies suggests that these associations tend to occur with some consistency in the surf zone of Cassino Beach, even in the long term.

The results obtained here show the strong influence of seasonality on the ichthyofauna structure in the surf zone of Cassino Beach. The increase of marine productivity driven by the seasonality of temperatures and sunlight in subtropical habitats favors the survival of larvae and juveniles during warmer months, especially due to increase of food supply (Castillo-Rivera et al. 2010; Martino and Houde 2010; Kristiansen et al. 2011). Thus, the seasonal dynamics of the spawning activity and recruitment in subtropical areas is closely associated with the temperature regime. According to Moraes et al. (2012), the time required for the fish larvae produced in the spring reproductive period to grow and reach the shallow areas of the surf zone explains the lag of 1 month observed in the response of the species abundance to water temperature in Cassino beach. Similar to what happens in other subtropical environments, biological cycles of reproduction and recruitment of fishes associated with the increased productivity of the system during spring and summer also occur in this study site (Monteiro-Neto et al. 2003; Lima and Vieira 2009; Moraes et al. 2012; Rodrigues and Vieira 2012). Monteiro-Neto et al. (2003) emphasized that the occurrence and seasonal abundance of fish species in the surf zone reflect patterns of recruitment of juveniles determined by both the seasonality of reproduction and the seasonal variations in circulation patterns. These ecological mechanisms explain the strong positive relationships of temperature and seasonality with abundance and species richness that were detected by our models.

Salinity and surface water temperature appeared as important factors in the variation of abundance and in defining distinct groups A and B for the ichthyofauna. The river discharges were important components in all proposed models contributing with increased predictive power for both richness and abundance of the species that compose Group A. A hypothesis to help explain this result is the fertilization of the continental shelf promoted by the estuarine plume (Miranda et al. 2002). With more nutrients on the coast, there is an increase in marine productivity, which could attract more species into the assemblage and increase the abundance of at least some of them.

The unique possibility of the present study to glimpse at the fish assemblage over the long period of 16 years allows the identification of a decreasing trend in both species richness and in the overall abundance in Group B. Other studies in the region, covering shorter periods, had been unable to identify these concerning trends.

Over the past decades, natural and anthropogenic factors, and their conjunction, have been modifying the dynamics of the Patos Lagoon Estuary and adjacent coastal waters, which includes the Cassino Beach (Odebrecht et al. 2010a). For instance, positive anomalies of estuarine freshwater outflow associated with choked morphology of the Patos Lagoon Estuary can generate seaward currents that block the entrance of fish and crustaceans recruits of marine origin into the estuary. Additionally, the input of the strong freshwater outflow into the adjacent coastal zone, especially those observed during El Niño events, forces the drop in salinity and changes the structure and composition of the communities at Cassino Beach (e.g., Garcia et al. 2004, Odebrecht et al. 2010b). The estuarine plume of the Patos Lagoon also plays an important role with the input of fine sediments (silt and clay) into the coastal zone. These sediments form natural mud deposits that can reach the Cassino Beach during climatic events, changing the surf-zone hydrodynamics, especially in the attenuation of waves (Calliari et al. 2007), altering the concentrations of the dissolved inorganic nutrient (Odebrecht et al. 2010b) and causing significant changes in biotic components (e.g., phytoplankton species—Odebrecht et al. 2003; benthic invertebrates—Silva et al. 2008; and ichthyofauna—Mont’Alverne et al. 2012). Although it is a natural phenomenon, dredging operations on poorly sited dumpsites seems to amplify the production of fluid mud (Calliari et al. 2001) and this activity has become more frequent during the last century (Calliari et al. 2009).

Commercially important species, such as O. argentinensis, T. marginatus and, especially, M. liza (Fischer et al. 2011), are present in Group B. This fact allows us to restate the hypothesis that the increase in fishing effort has led to a decrease in the reproductive stock and consequent decrease in the recruitment of those species that are directly related to the surf zone. The long-term changes that have been observed in Cassino Beach, as well as in the Patos Lagoon Estuary, still need further investigation. Causes appear to be complex and are the fruit of an intricate network of natural and anthropogenic factors.

Species richness as response variable showed a positive association with the covariate abundance. Such relation between number of species and number of collected individuals had already been reported in other studies (Gotelli and Colwell 2001; Silvy 2012). But, because our fitted GAM curve showed an asymptote, the number of collected specimens seems to have been sufficient to characterize the assemblies’ richness. While abundance has been decreasing over the last years, its effect over species richness has become part of the explanation for the observed reduction in richness. However, year remains an important covariate in the model, showing that species richness is declining in time, irrespective of the effect induced by changes in abundance.

Finally, we emphasize the importance of continued monitoring of this fish assemblage in order to deepen the investigation of the long-term causes for changes in the abundance of individuals and species richness, perhaps associating these changes also with data from fisheries landing and proxies that serve as evidence of climate change. This is especially attractive due to the location of our study site near the boundary between tropical and temperate regimes.

Conclusions

The Bayesian generalized additive models (GAMs) proved to be an appropriate exploratory tool in ecological studies of species richness and abundance. No significant difference was found between the sampled sites (1) near Molhe Oeste and (2) near Marine Aquaculture Station—EMA/FURG. Seasonality, influenced by changes in water temperature and salinity, is the most influential in the oscillations of richness and abundance of the ichthyofauna in the surf zone of Cassino Beach, RS. Higher discharges of the three main rivers that flow into the Lagoa dos Patos (Jacuí, Taquari, Camaquã) were associated with an increase in species richness and in abundance of some occasional species of the assemblage (Group A). There has been a decrease in the total species richness and abundance of the most representative species in the surf zone of Cassino Beach over the past 16 years.