getNlsConfInt: Get NLS confidence intervals

View source: R/getNlsConfInt.R

getNlsConfIntR Documentation

Get NLS confidence intervals

Description

Calculates 95 function by Walmes Zediani of the Universidade Federal do Paraná (http://www.leg.ufpr.br/~walmes/cursoR/ciaeear/as.lm.nls.R). Returns a data frame with upper and lower bounds, fitted values, and values for predictor variable to facilitate plotting.

Usage

getNlsConfInt(nls, data, xVarName)

Arguments

nls

An 'nls' object

data

A dataframe with data used to fit model

xVarName

A character string with the name of the predictor variable in the dataframe 'data'

Value

A data frame with fitted values, upper and lower bounds, and a column with values for predictor variable


earlycapistran/consLettersUtils documentation built on Nov. 22, 2022, 1:22 a.m.