Displaying 20 results from an estimated 10000 matches similar to: "Package for determining correlation for mixed "Level of Measurement""
2010 May 05
1
simple on point bisserial correlation
Dear developers of R-project,
I have such data
height of male persons
181, 178, 182, 160, 187, 193, 184, 184,
175, 178, 184, 184, 174, 185, 175
height of female persons
164, 165, 160, 174, 167, 161, 164, 165,
169, 175, 165, 155, 172, 164, 172, 166,
160, 159, 158, 173
I want to determine if height is dependent on
gender, and I need to find, as I understand, point
biserial correlation. I had tried
2007 Sep 19
2
recommended package/docs for analyzing multiple choice tests
Hi,
What package would you recommend for analyzing the
validity/reliability of multiple choice tests. Doing things such as
classical test analysis, factor analysis, item response theory.
I've used psychometric (item.exam), MiscPsycho (alpha.Summary), and ltm
(rcor.test). MiscPsycho reported the numbers most similar to what I get
in SPSS: corrected point biserial correlations,
2009 Nov 20
6
How to add a top level title to multiple plots
How can I add an overall plot title to these four plots?
I would like to have something that says, "Distribution Comparisons":
par(mfrow = c(2, 2))
# Plot 1
plot(rnorm(10),type="l",col="red")
title(main = list(paste("Normal"),
????????????????????????? col="black", cex = 1.0))
# Plot 2
plot(rpois(10,
2009 Aug 04
5
Stacked plots with common x-axis and different y-axis
Is there a place that shows how to create two plots that are stacked on top of each other where they share a common x-axis scale, but have differnt y-axis scale?
Say have the following data: airquality
Stack plot(airquality$Day, airquality$Wind) on top of plot(airquality$Day, airquality$Temp).
I am interested in stacking the two on top of each other with no seam, or plotting the two lines with
2009 Jul 09
4
Issues with file.info?
Are there any tricks associated with file.info?
I just tried it on a directory folder and it returned NA for all fields for all files. I tried it on a different folder with different files and it still returned NA.
I tried it on a specific file and it returned all the proper info correctly.
Just wondering if there are any tricks I've overlooked.
2009 Jul 16
6
Best way to replace :SS with :00
Not sure if there is an R way to do this or a regular express way, but here is what I am trying to do.
I've got lots of data where the format is HH:MM:SS, but I need to format it like HH:MM:00, i.e. round the second down to zero.
What is the best way to do this?
Thanks again.
Jason
2016 Apr 16
2
Problem: No p-value for a point-baserial correlation with R
Dear community
I'm pretty new to R and I'm trying to do a Point-baserial correlation for a nominal dichotomous variable with a interval scaled variable. It works fine, but the output just shows me the correlation and nothing else (p-Value would be important).
I tried it with the following codes:
- biseral.cor()
- cor.biseral()
- I also tried a polyserial() I've found on this
2009 Feb 04
5
Target Plot?
I've done a little snooping around the R Gallery Site (http://addictedtor.free.fr/graphiques/) and the "Statistics with R" site (http://zoonek2.free.fr/UNIX/48_R/all.html), but I can't seem to find what I'm looking for.
Here is the type of plot I would like to draw:
(1) 2-D three axis plot where each axis is separated by 120-degrees (would be great if the number of axis
2009 Jan 03
2
R Stacked Histogram
I've seen this asked, but never fully answered.
Is it possible to plot stacked histograms in R?
I have four data sets that I would like to show combined vertically in histogram format.
Is this possible?
Thank you for any feedback you can provide.
P.S. I know I can show the four sets side by side, but I want to combine them, but still uniquely identify each. Thanks again.
2009 Jul 09
5
Best way to export values from a function?
Maybe there is a great website out there or white paper that discusses this but again my Google skills (or lack there of) let me down.
I would like to know the best way to export several doubles from a function, where the doubles are not an array.
Here is a contrived function similar to my needs:
multipleoutput<-function(x)
{
squared<-x^2
cubed<-x^3
exponentioal<-exp(x)
2009 May 26
2
Problem accessing "row number" from subset on a dataframe
I would like to use the "row number" information returned from performing a subset command on a dataframe.
For example, I would like to automatically delete some rows from a dataframe if they match a criteria. Here is my example below.
data(airquality)
names(airquality)
subset(airquality, airquality$Month == 6)
Now how do I delete the row numbers returned automatically?
I
2009 Jun 26
3
Automatically placing a legend in an area with the most white space...
At one point I believe I heard of an R package that would automatically find the most empty space in a plot, and then that answer could then be used to intelligently place a legend.
I would like to try to apply that R package to the contrived example shown below, so thank you for any hints or tips that can be provided.
x = seq(0, 1000, by = 1)
y1_vals<-rnorm(1000, mean = 0, sd = 50)
2009 Aug 01
1
R Package That Contains International Geomagnetic Reference Field (IGRF)
By any chance is anyone aware of an R package that contains a representation of the International Geomagnetic Reference Field (IGRF)?
http://www.ngdc.noaa.gov/IAGA/vmod/igrf.html
I've tracked down some Fortran and C code for the IGRF-10, and possibly IGRF-11, and was hoping to avoid an awkward port.
Thanks again for any feedback and leads provided.
2011 Nov 23
2
Suggested alternative to rgdal for Mac for making bubble plots with R 2.14?
I'm new to making bubble plots with R, so I was going to try the following:
https://stat.ethz.ch/pipermail/r-sig-geo/2009-August/006258.html
Unfortunately, it looks like rgdal is not part of 2.14. I'm not sure if it was the mirror I selected or something else is going on.
> install.packages("rgdal")
--- Please select a CRAN mirror for use in this session ---
Warning
2009 Jan 29
2
Adding vertical line to histogram and qplot "stacked" plot
R-users it appears I am leaning on your knowledge once again. Is there any way to add a vertical line to a histogram and qplot "stacked" plot? Here is my current attempt:
"qplot" approach attempt:
qplot(Run, data = data_dataframe, breaks = breaks, fill = Temperature, main = short_title) + scale_x_continuous("Data") + scale_y_continuous("Freq")
2003 Mar 31
2
point-biserial correlation
Dear list,
has anyone written a package/function in R for computing a point-
biserial resp. biserial correlation?
Thanks in advance
Bernd
2007 Oct 29
1
biserial correlation with pkg polycor
Een ingesloten tekst met niet-gespecificeerde tekenset is
van het bericht gescrubt ...
Naam: niet beschikbaar
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071029/b29e9bd5/attachment.pl
2012 Jan 20
1
Point biserial correlation => Is there any specific command or could I just use cor.test?
Hello,
I found in the forum two threads about point biserial correlation. One of
them (1) mentioned "a point-biserial correlation is just a Pearson
correlation where one of the variables is dichotomous. Thus, the command
is just the normal cor function". The other (2) mentioned "Professor Fox's
package polycor" as a way to calculate point biserial correlation?
2009 Mar 24
2
Executing an external executable from within R?
For example, from within an R script I would like to be able to launch NotePad.exe.
Is there an R call for launching Notepad.exe from within R?
I've tried the following, but they don't seem to work:
> system(paste('"C:/WINDOWS/NOTEPAD.exe"'), wait = FALSE)
> system("C:/WINDOWS/NOTEPAD.exe", wait = FALSE)
> system("NOTEPAD", wait = FALSE)
2009 Jul 04
2
Skeleton Package to Flesh Out?
By any chance is there a skeleton package to use as a template to develop an R package?
I downloaded "Writing R Extensions", which was evidently updated pretty recently, but I did not see any references (and of course I may have totally missed it) to a package template to use as a go by.
Does such a skeleton package exist?
Thanks again for all your help, as I've got the code,