BaseWPDist {HTSeedGLM}R Documentation

Distribution of base seed water potential

Description

This function provides the estimates of stress and uniformity parameters along with respective variances using generalised linear model fitted to observed germination percentage of seed. The model can be fitted under logit, probit and cloglog transformations.

Usage

BaseWPDist(model)

Arguments

model

Fitted model

Value

References

Examples

X <- c(0,-0.3,-0.6,-0.9) # Various water potentials
y <- c(44,10,10,4) # Number of germinated seeds
n <- c(100,100,100,100) # Total number of viable seeds
n_y <- n-y
sg.mat <- cbind(y,n_y)
res.glm1 <- glm(sg.mat~ X,family=binomial(link=logit)) # Using logit transformation
my.bdl<- BaseWPDist(res.glm1)
res.glm2 <- glm(sg.mat~ X,family=binomial(link=probit)) # Using probit transformation
my.bdp<- BaseWPDist(res.glm2)
res.glm3 <- glm(sg.mat~ X,family=binomial(link=cloglog))# Using cloglog transformation
my.bdcl<- BaseWPDist(res.glm3)

[Package HTSeedGLM version 0.1.0 Index]