Dear Users Regarding the NADA package, would anyone be able to help me understand what values are actually plotted on the Y axis of the plot obtained by using the *ros* function on the data and plotting the result with the plot() function? The Y axis is labeled "Values". According to the NADA user manual, ros performs a log transformation of the data by default, but the user can specify no transformation, or some other transformation besides log, if desired. However the values plotted on the Y axis appear to be the raw data values, regardless of which transformation or no transformation was used. If the log transformation is used for instance, I would have expected the logs of the original data instead of the raw data to be plotted on the Y axis. Thanks for your help. Janh [[alternative HTML version deleted]]
Somebody just might be able to help if you read the Posting Guide mentioned in the email footer, post using plain text, and make a reproducible example [1]. [1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. Janh Anni <annijanh at gmail.com> wrote:>Dear Users >Regarding the NADA package, would anyone be able to help me understand >what >values are actually plotted on the Y axis of the plot obtained by using >the >*ros* function on the data and plotting the result with the plot() >function? The Y axis is labeled "Values". According to the NADA user >manual, ros performs a log transformation of the data by default, but >the >user can specify no transformation, or some other transformation >besides >log, if desired. However the values plotted on the Y axis appear to be >the >raw data values, regardless of which transformation or no >transformation >was used. If the log transformation is used for instance, I would have >expected the logs of the original data instead of the raw data to be >plotted on the Y axis. > >Thanks for your help. >Janh > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at 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.
According to ?ros, one of the arguments is: reverseT: A name of a function to use for reversing the transformation after performing the ROS fit. Defaults to 'exp'. And in the Details section: By default, 'ros' performs a log transformation prior to, and after operations over the data. Given those statements, perhaps the expectation should be a plot in original units? Keep in mind that a main purpose is summary statistics in the original units. After running the first example in ?ros, including the plot, try these: unclass(myros) abline(h=myros$modeled,col='blue') -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 3/20/13 5:48 PM, "Janh Anni" <annijanh at gmail.com> wrote:>Dear Users >Regarding the NADA package, would anyone be able to help me understand >what >values are actually plotted on the Y axis of the plot obtained by using >the >*ros* function on the data and plotting the result with the plot() >function? The Y axis is labeled "Values". According to the NADA user >manual, ros performs a log transformation of the data by default, but the >user can specify no transformation, or some other transformation besides >log, if desired. However the values plotted on the Y axis appear to be the >raw data values, regardless of which transformation or no transformation >was used. If the log transformation is used for instance, I would have >expected the logs of the original data instead of the raw data to be >plotted on the Y axis. > >Thanks for your help. >Janh > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at 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.