My code is:
s <- c (5, 10, 15, 50, 75, 100)
v <- c (0.0372, 0.0431, 0.0788, 0.122, 0.131, 0.105)
sigmoid <- nls( v ~ Vmax * s^h / ( Km + s^h ) , start = list ( Vmax =0.2, Km =50, h=1))
summary (sigmoid)
# draw a basic sigmoidal plot
plot ( v ∼ s,
main = "" ,
ylab = " v (umol/min/mg protein) " ,
xlab = " [Ninhydrin Hydrate] (uM)"
)
and it produces this graph without a line.However, on the graph i would like a sigmoidal fitting line for the points that would make it look like this roughly (the red line):
does anyone know what code to use to achieve this?