Re: [R] Plotmath isn't working for special characters

2023-01-25 Thread Shawn Way
I see the same thing using 4.2.2 on Windows 10. Thank you kindly, Shawn Way, PE   Director of Engineering Phone: (832) 403-0414 Empower Pharmacy   Expanding Access.    -Original Message- From: R-help On Behalf Of David Stevens Sent: Wednesday, January 25, 2023 8:34 AM To: Bert

Re: [R] Help with Converting Excel Times to R

2021-07-21 Thread Shawn Way
;America/Chicago") [1] "2021-07-20 08:30:00 CDT" "2021-07-20 08:39:59 CDT" I've never heard of the "1904-01-01" origin, only the "1899-12-30" origin for excel. Nor did I know about the multiplication of 86400. Thank you again! Shawn Way -Origin

[R] Help with Converting Excel Times to R

2021-07-21 Thread Shawn Way
such as lubridate, etc and I get the same result > as_datetime(dt,origin="1899-12-30 00:00:00") [1] "1899-12-30 11:55:36 UTC" "1899-12-30 11:55:36 UTC" Any ideas about what I'm doing wrong? Shawn Way __ R-help@r-pro

Re: [R] Using Partial Column Matching for Mutate

2019-08-06 Thread Shawn Way
Frankly, this is great. I don’t really care if it base or tidy, I just need it to work. Thank you kindly! Shawn Way, PE From: Eric Berger Sent: Tuesday, August 06, 2019 8:30 AM To: Shawn Way Cc: r-help@r-project.org Subject: Re: [R] Using Partial Column Matching for Mutate ** External

[R] Using Partial Column Matching for Mutate

2019-08-06 Thread Shawn Way
n Eng_Labor_Hrs, etc. Is this even possible or will I need to explicitly write out the mutate for each combination? Thanks for looking at this. Shawn Way, P.E.     __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.

Re: [R] Vectorised uniroot function

2019-04-23 Thread Shawn Way
I've had to do something similar for some of my engineering calculations. I would welcome something like this. It would make the language more amenable for engineering usage. Thank you kindly! Shawn Way, PE -Original Message- From: R-help On Behalf Of Mark Clements Sent: Tuesday

[R] Solved: RE: xtable does not print out units of a variable

2018-07-19 Thread Shawn Way
table}[ht] \centering \begin{tabular}{r} \hline & x & y & z & zz \\ \hline 1 & 12 $ kg / m s^2 $ & 13 $ kg / s $ & 13 $ ft^2 $ & 13 $/ s $ \\ \hline \end{tabular} \end{table} > Or > print(xtable(data,frac=TRUE,xtable.frac=TRUE),sanitize.text.func

Re: [R] xtable does not print out units of a variable

2018-07-19 Thread Shawn Way
conversion between units, something necessary for us engineering folks. Thank you kindly! Shawn Way, PE -Original Message- From: Jeff Newmiller Sent: Wednesday, July 18, 2018 9:26 PM To: Shawn Way Cc: r-help@r-project.org Subject: Re: [R] xtable does not print out units of a variable

[R] xtable does not print out units of a variable

2018-07-18 Thread Shawn Way
would be extremely beneficial to engineers that are using R with knitr to generate engineering documents. Shawn Way __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting g

Re: [R] Evaluation failure of IAPWS95 functions in a rowwise manner (tidyverse style)

2018-05-30 Thread Shawn Way
, the error was between the head and the keyboard. Thanks! Shawn Way -Original Message- From: Ista Zahn Sent: Wednesday, May 30, 2018 2:28 PM To: Shawn Way Cc: r-help@r-project.org Subject: Re: [R] Evaluation failure of IAPWS95 functions in a rowwise manner (tidyverse style) Hi Shawn, I

[R] Evaluation failure of IAPWS95 functions in a rowwise manner (tidyverse style)

2018-05-30 Thread Shawn Way
as the first? When I run the function DTp individually, I get the right results. Shawn Way     __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide htt

Re: [R] Data and Variables from Tables

2017-03-22 Thread Shawn Way
I implemented the second as well. It was much easier to create a function to automate this as well as assign the results to a single data.frame Shawn Way, PE -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: Tuesday, March 21, 2017 5:40 PM To: r-help@r

Re: [R] Data and Variables from Tables

2017-03-21 Thread Shawn Way
That worked perfectly! This makes using a large number of values for programming and their documentation significantly easier. Thank you Shawn Way, PE -Original Message- From: Enrico Schumann [mailto:e...@enricoschumann.net] Sent: Tuesday, March 21, 2017 4:40 PM To: Shawn Way &l

[R] Data and Variables from Tables

2017-03-21 Thread Shawn Way
- 1 beta <- 2 G <- .25 Has anyone done something like this or can someone point me in the right direction to do this? Shawn Way     __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] Extracting information from a tm corpus.

2017-03-02 Thread Shawn Way
as the lines containing the search parameter in the corpus document to allow printing, at least to screen. Thank you! Shawn Way     __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d

Re: [R] Using ggplot2 to plot percentages in bar chart.

2016-12-06 Thread Shawn Way
This worked well! Thank you very much. For the record, the stat_bin was used in a solution I found on stackexchange for something similar, but I was having issues adapting. Thanks again to all who responded. I appreciate it greatly. Shawn Way, PE -Original Message- From: Jeff

Re: [R] Using ggplot2 to plot percentages in bar chart.

2016-12-05 Thread Shawn Way
That’s precisely what I’m trying to accomplish. Shawn Way, PE From: John Kane [mailto:jrkrid...@yahoo.ca] Sent: Monday, December 05, 2016 4:47 PM To: Shawn Way <s...@meco.com>; r-help@r-project.org Subject: Re: [R] Using ggplot2 to plot percentages in bar chart. I've never seen stat_bi

Re: [R] scatter plot of numerical variables against different sample ids

2016-12-05 Thread Shawn Way
You can also try using ggplot2 to generate the plot: > library(tidyr) > library(ggplot2) > data <- gather(mldf,Element,Value,2:4) > p <- ggplot(data,aes(x=factor(Element),y=Value,group=Sample,color=Sample)) > p+geom_line() Shawn Way, PE -Original Message- From:

[R] Using ggplot2 to plot percentages in bar chart.

2016-12-05 Thread Shawn Way
vjust=5) + scale_y_continuous(labels = percent) but I get the error: Error: stat_bin() must not be used with a y aesthetic. When I leave out the stat_bin, I get the correct bar chart, but without the labels. Can someone please help me understand

[R] Plotting cumsum data using lattice plots according to date conditioned by name.

2012-08-01 Thread Shawn Way
)) all to no avail. Can anyone point me in a good direction as to whatto look at next? Thank you kindly, -- Shawn Way, PE MECO, Inc. (p) 281-276-7612 (f) 281-313-0248 img alt= src=https://store.meco.com/awweb/img/meco_email.gif; /br

[R] pcaMethods and Lattice help.

2010-07-19 Thread Shawn Way
) === Thank you kindly, -- Shawn Way, PE MECO, Inc. (p) 281-276-7612 (f) 281-313-0248 img alt= src=http://www.meco.com/img/meco.gif; /br / a href=http://www.meco.com;WWW.MECO.COM/abr / nbsp; This e-mail is for the use

Re: [R] slplot issue

2010-07-19 Thread Shawn Way
== slplot(pcIr, sl=as.character(iris[,5]),scoresLoadings=c(TRUE, FALSE), xlim=c(-8,8),ylim=c(-8,8)) == to no avail... Any thoughts? Thank you kindly, -- Shawn Way, PE MECO, Inc. (p) 281

[R] slplot issue

2010-07-17 Thread Shawn Way
, -- Shawn Way, PE MECO, Inc. (p) 281-276-7612 (f) 281-313-0248 img alt= src=http://www.meco.com/img/meco.gif; /br / a href=http://www.meco.com;WWW.MECO.COM/abr / nbsp; This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail

[R] Reference to R in Publication

2009-12-15 Thread Shawn Way
space. Parametric Bootstrapping can help simplify early analysis and compliment Bayesian Methods. R mentioned along with SAS at the end of the artice. Thank you kindly, -- Shawn Way, PE MECO, Inc. (p) 281-276-7612 (f) 281-313-0248