Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

59 results for “from:Thomas Subia”

prop.test question
Thomas Subia · Jul 11, 2023 · r-help

Colleagues Consider:smokers? <- c( 83, 90, 129, 70 ) patients <- c( 86, 93, 136, 82 ) prop.test(smokers, patients) ??? 4-sample test for equality of proportions ?? ?without continuity correction data:? smokers out of patients X-squared = 12.6, df = 3, p...

[External] latticeExtra
Thomas Subia · Jun 5, 2023 · r-help

Colleagues, Thanks for the help! Root cause of the problem was not to define z and x as factors!Now I know better. All the best, Thomas Subia On Monday, June 5, 2023 at 08:45:39 PM PDT, Richard...

Sin curve question
Thomas Subia · Jul 24, 2021 · r-help

Colleagues, Here is my code which plots sin(x) vs x, for angles between 0 and 180 degrees. library(ggplot2) library(REdaS) copdat$degrees <- c(0,45,90,135,180) copdat$radians <- deg2rad(copdat$degrees) copdat$sin_x <- sin(copdat...

latticeExtra
Thomas Subia · Jun 5, 2023 · r-help

Colleagues, I am trying to create a 3D barplot using the following script d <- read.table(text=' x?? y???? z t1?? 5?? high t1?? 2?? low t1?? 4?? med t2?? 8?? high t2?? 1?? low t2?? 3?? med t3? 50...

pairwise.var.test
Thomas Subia · Oct 30, 2022 · r-help

Colleagues, The RVAideMemoire package has a pairwise variance test which one can use to identify variance differences between group levels. Using the example from this package, pairwise.var.test(InsectSprays$count,InsectSprays$spray), we get this output: ??? Pairwise comparisons using...

About wilcox test
Thomas Subia · Mar 12, 2019 · r-help

Javid wrote: "I have two set of data in excel: A column( 16.38, -31, -16.77, 127, -57, 23.44 and so on) B column ( -12, -59.23, -44, 34.23, 55.5, -12.12 and so on) I...

Geom ribbon
Thomas Subia · Jul 9, 2022 · r-help

Colleagues, I am plotting tolerance ratios by location and dateMy reproducible code is: library(ggplot2) library(cowplot) # tolerance ratio day1 <- runif(3) day2 <- runif(3) day3 <-runif(3) location <- c("A","B","C") df <- data.frame(location,day1,day2,day3...

Help for pdf conversion
Thomas Subia · Oct 30, 2019 · r-help

Colleagues, I'm trying to convert a pdf to a text file with the following code. # pdf to excel library(pdftools) # pdf to excel library # set working directory setwd("C:/Users") # input pdf txt <- pdf_text("C:/Users/10619.pdf...

geom_smooth
Thomas Subia · Aug 12, 2023 · r-help

Colleagues, Your suggestions are elegant and greatly appreciated. Thomas Subia On Friday, August 11, 2023 at 11:08:42 PM PDT, Berwin A Turlach <berwin.turlach at gmail.com> wrote: G'day Thomas, On Sat, 12 Aug 2023 04:17...

High p-value
Thomas Subia · Mar 20, 2019 · r-help

>From previous posting: "This is my function: wilcox.test(A,B, data = data, paired = FALSE) It gives me high p value, though the median of A column is 6900 and B column is 3500. Why it gives p value high...

. Re: Splitting a data column randomly into 3 groups
Thomas Subia · Sep 4, 2021 · r-help

I was wondering if this is a good alternative method to split a data column into distinct groups. Let's say I want my first group to have 4 elements selected randomly mydata <- LETTERS[1:11] random_grp <- sample(mydata...

transformTukey
Thomas Subia · Dec 15, 2021 · r-help

Thanks Ivan! This makes perfect sense now! All the best, Thomas Subia Statistician -----Original Message----- From: Ivan Krylov <krylov.r00t at gmail.com> Sent: Wednesday, December 15, 2021 5:21 AM To: Thomas Subia via R-help <r-help at...

Sample size required to estimate population variance
Thomas Subia · Jul 4, 2019 · r-help

Thanks for the suggestion but I'm not sure that it answers my original question.I need to know how many samples I need to collect to collect in order to estimate the sample size needed to achieve a specific...

uniroot
Thomas Subia · Aug 27, 2021 · r-help

Colleagues, I've been using uniroot to identify a root of an equation. As a check, I always verify that calculated root. This is where I need some help. Consider the following script fun <- function(x) {x^x -23} # Clearly...

readxl question
Thomas Subia · Dec 5, 2019 · r-help

Colleagues, I'm trying to extract a cell from all Excel files in a directory. library(readxl) files <- list.files(pattern="*.xls", full.names = FALSE) date <- lapply(files, read_excel, sheet="Sheet1", range=("B5")) date_df <- as.data.frame(date...

Date order question
Thomas Subia · Jan 4, 2023 · r-help

Colleagues, date<-c("12-29","12-30","01-01") PT <- c(.106,.130,.121) data <- data.frame(date,PT) ggplot(data, aes(x=date,y=PT,group=1))+ geom_point(size=4)+ geom_line()+ geom_hline(yintercept =c(1,.60...

Annotate question
Thomas Subia · Feb 19, 2020 · r-help

Colleagues, To add an annotation using ggplot, I've used annotate("text",x=17,y=2130,label="16 u"). However, this does not work when trying to annotate box plots by groups since groups are factors. Any advice would be...

Dplyr question
Thomas Subia · Jun 21, 2022 · r-help

Colleagues: The header of my data set is: Time_stamp P1A0B0D P190-90D Jun-10 10:34 -0.000208 -0.000195 Jun-10 10:51 -0.000228 -0.000188 Jun-10 11:02 -0.000234 -0.000204 Jun-10 11...

Checking for similar file names in two different directories
Thomas Subia · Dec 26, 2019 · r-help

Colleagues, I have two locations where my data resides. One folder is for data taken under treatment A One folder is for data taken under treatment B "G:\ 0020-49785 10806.xls" "Q:\ 301864 4519 10806.xls" Here the 10806...

Extract lines from pdf files
Thomas Subia · Nov 19, 2019 · r-help

Colleagues, ? I can extract specific data from lines in a pdf using: ? library(pdftools) pdf_text("10619.pdf") txt <- pdf_text(".pdf") write.table(txt,file="mydata.txt") con <- file('mydata.txt') open(con) serial <- read.table(con,skip=5...

Can't find what you're looking for? Try searching with Google .