Re: [R] PROP_TEST function from INFER package

2023-05-15 Thread Marc Schwartz via R-help
Hi, You are using the prop_test() function from the infer CRAN package, with an argument set for an example using the prop_test() function from the rstatix CRAN package. They are **not** the same function, and do not take the same arguments, even though they have the same name. Read the help

[R] PROP_TEST function from INFER package

2023-05-15 Thread alfredo.roccato
Dear all, I'm trying to replicate the same example you can find in: https://rpkgs.datanovia.com/rstatix/reference/prop_test.html but I get the following get this error message: > library(infer) > prop_test(x = 95, n = 160, p = 0.5, detailed = TRUE) Error: Please supply a response variable