[R] Boxplots with similar number of classes....

2010-02-22 Thread kupz

I have four boxplots, stacked on top of one another (vertically). There are
five classes that the continuous variable is set against. The problem I have
is the data for the second boxplot only contains values for four of the five
classes.

I would like to include the space in this graph so there is a continuity for
all of the boxplots, in terms of number of classes. I would include a set of
zeroes, but they are omitted from all graphs for a number of reasons.
Basically is there anyway to add in that class that isn't being plotted for
this particular boxplot?

TIA- Matt http://n4.nabble.com/file/n1565299/b1help.jpg 
-- 
View this message in context: 
http://n4.nabble.com/Boxplots-with-similar-number-of-classes-tp1565299p1565299.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Non-linear regression

2010-02-06 Thread kupz

Agreed, it would be simple to propose the relationship, however the
regression is necessary to model the data properly. Unfortunately a simple
decay based on those two points does not have the proper shape necessary.
This is due to an extreme amount of zero inflation with this fisheries data. 

On another note, I have a working solution for the problem, I am excluding a
portion of the zero data based on some other apriori assumptions.. Thanks
for your help though. 
-- 
View this message in context: 
http://n4.nabble.com/Non-linear-regression-tp1471736p1471749.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Non-linear regression

2010-02-06 Thread kupz

So I have a data set I would like to model using a non-linear method. I know
it should be an exponential decay. However I know what the first derivative
of the equation should be at two points, x=0 and x=100. Is there anyway to
establish this when inputing the model or how would one go about this before
the nls statement

-Thanks, 
Matt
-- 
View this message in context: 
http://n4.nabble.com/Non-linear-regression-tp1471736p1471736.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.