Re: [R] R crashes upon changing directories, loading files, etc.

2015-04-06 Thread Nicole Ford
with that skill set might see this and the other thread you mentioned. ~Nicole Sent from my iPhone > On Apr 6, 2015, at 5:26 PM, peter dalgaard wrote: > > >> On 06 Apr 2015, at 22:17 , Prof Brian Ripley wrote: >> >> Nicole Ford wrote: > > [snip] >

[R] R crashes upon changing directories, loading files, etc.

2015-04-06 Thread Nicole Ford
Hello, I am experiencing an issue, repeatedly, which began today. Example code: load(file.choose()) ##sometimes it crashes here/ endless spinner/ other times I can get through. or: i go up to options at the top to set wd, or select ‘file’ -> ‘open’ and it will do the same thing. I found a

Re: [R] not a Stata version 5-12 .dta file

2015-03-20 Thread Nicole Ford
umented code to >>>> download and then analyze every file from every wave of the world values >>>> survey here. the download automation script should solve your problem, or >>>> at least work around it :) >>>> >>>> http://www.asdfree

Re: [R] not a Stata version 5-12 .dta file

2015-03-20 Thread Nicole Ford
Anthony, I was able to d/l all of the files over night. I will let you know off-list of any issues. Thanks! ~Nicole Ford Sent from my iPhone > On Mar 20, 2015, at 12:09 AM, Anthony Damico wrote: > > doesn't just running this solve your problem? > > https://github.com

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
ld%20Values%20Survey/download%20all%20microdata.R > > <https://github.com/ajdamico/usgsd/blob/master/World%20Values%20Survey/download%20all%20microdata.R> > > > On Fri, Mar 20, 2015 at 12:04 AM, Nicole Ford <mailto:nicole.f...@me.com>> wrote: > Anthony, >

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
ve your problem, or at > least work around it :) > > http://www.asdfree.com/search/label/world%20values%20survey%20%28wvs%29 > <http://www.asdfree.com/search/label/world%20values%20survey%20%28wvs%29> > > > > > > On Thu, Mar 19, 2015 at 6:09 PM, Nicole F

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
[9] foreign_0.8-63car_2.0-25 loaded via a namespace (and not attached): [1] coda_0.16-1 colorspace_1.2-4 grid_3.1.3 MASS_7.3-39 mgcv_1.8-4 minqa_1.2.3 nlme_3.1-120 nloptr_1.0.0 nnet_7.3-9 [10] parallel_3.1.3 pbkrtest_0.4-2 quantreg_5.11Sp

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp <http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp> ~Nicole > On Mar 19, 2015, at 4:59 PM, Ista Zahn wrote: > > Is the file publicly available? What is the URL? > > Best, > Ista > > On Thu, Mar 19, 2015 at 4:46 PM, Nico

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
ion! Sent from my iPhone > On Mar 19, 2015, at 4:41 PM, Ista Zahn wrote: > > Hi Nicole, > > Is it a stata 13 data file? If so your best bet is to open it in Stata > and use the "saveold" command to save it as a stata 12 file. > > Best, > Ista >

[R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
Hello, I recently updated to the newest version of R and I am encountering issues. Please find my error and session info below. My data are attached. I have tried the readstata13 package just in case to no avail. Unless I am missing something, google isn’t helping. Thank you in advance.

[R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
Hello, I recently updated to the newest version of R and I am encountering issues. Please find my error and session info below. My data are attached. I have tried the readstata13 package just in case to no avail. Unless I am missing something, google isn’t helping. Thank you in advance.

[R] HLM time series using Bayesian Inference in R.

2014-06-19 Thread Nicole Ford
department no one uses R at all) so I'm pretty much on my own. Any direction would be appreciated. Thank you. ~Nicole Ford Ph.D. Candidate/ Instructor Department of Government and International Affairs University of South Florida Sent from my iPhon

Re: [R] lmer effects-type plot?

2013-03-31 Thread Nicole Ford
I was only just now able to investigate and give this a try (not sure how I missed it previously when I looked at the page). It worked perfectly! Thanks to you both. =) On Mar 31, 2013, at 8:28 PM, Nicole Ford wrote: > John, > > Thanks for your reply! I will check again I

Re: [R] lmer effects-type plot?

2013-03-31 Thread Nicole Ford
John, Thanks for your reply! I will check again I must have missed it! ~Nicole Ford Ph.D. Student Graduate Assistant/ Instructor Department of Government and International Affairs University of South Florida office: SOC 012M e: nmhi...@mail.usf.edu http://gia.usf.edu/student/nford/ Sent from

[R] lmer effects-type plot?

2013-03-31 Thread Nicole Ford
hello, all. while i have a mcmc running, i am looking at the frequestist method of my model. i have never done HLM so i am looking for ways to plot them that might yeild something useful like dr. fox's effects plot package. this is my model, where dem is democracy ranked continuous 1:10, trsut

Re: [R] hierarchical clustering with pearson's coefficient

2013-03-29 Thread Nicole Ford
I am not sure about your question but i did find this: http://research.med.helsinki.fi/corefacilities/proteinchem/hierarchical_clustering_basics.pdf it seems to address all three topics so perhaps the answer is in there?? On Mar 28, 2013, at 6:16 PM, Pierre Antoine DuBoDeNa wrote: > Hello, >

Re: [R] problem with plots with short example.

2013-03-29 Thread Nicole Ford
un.jags script using Rterm and saved the >> > model. >> > By accident I copied and pasted a script to R with run.jags in it and it >> > now runs. >> > >> > see also ?test.jags >> > >> > Do not know what will happen after a reboot. >> >

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
a sour taste in my mouth. but, i will say- thank god for R-studio right now. lol totally saved my sanity. but i am determined to fix R... On Mar 28, 2013, at 10:45 PM, Dennis Murphy wrote: > Hi Nicole: > > On Thu, Mar 28, 2013 at 7:25 PM, Nicole Ford wrote: >> thank yo

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
idea why something like this might happen, i would greatly >> appreciate it... so i can handle it quickly. >> >> thanks in advance. >> On Mar 28, 2013, at 7:55 PM, Nicole Ford wrote: >> >> > i am having problem running my own data. yesterday it was working

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
(DSHS/RDA) wrote: >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of Nicole Ford >> Sent: Thursday, March 28, 2013 4:55 PM >> To: r-help help >> Subject: [R] problem with plots with short

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
dvance. On Mar 28, 2013, at 7:55 PM, Nicole Ford wrote: > i am having problem running my own data. yesterday it was working just fine. > today it is not. this is the code i was using as an example to follow. > this code ALSO worked just fine yesterday, and is no longer working at al

[R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
i am having problem running my own data. yesterday it was working just fine. today it is not. this is the code i was using as an example to follow. this code ALSO worked just fine yesterday, and is no longer working at all. i suspect it is a problem with either my computer or the software,

Re: [R] unique not working

2013-03-28 Thread Nicole Ford
i meant "uncountry". i am creating one now/ dput(). thanks. ~Nicole Ford Ph.D. student Graduate Assistant/ Instructor University of South Florida Government and International Affairs office: SOC 012M On Mar 28, 2013, at 11:55 AM, Sarah Goslee wrote: > Hi, > > I'

Re: [R] bayesian HLM random effects

2013-03-28 Thread Nicole Ford
I have several plots from attempts yesterday where i was clearly getting the data in. however, that is no longer the case. ~Nicole Ford Ph.D. student Graduate Assistant/ Instructor University of South Florida Government and International Affairs office: SOC 012M On Mar 28, 2013, at 12:01

Re: [R] unique not working

2013-03-28 Thread nicole ford
Now R isn't running on my computer AT ALL. i deleted it and d/l'd again, trying to get it to work, it keeps crashing. so perhaps this is a hardware issue. the absolute worst timing. ~Nicole Ford Ph.D. Student Instructor: Empirical Political Analysis Department of Government and Int

Re: [R] bayesian HLM random effects/ problem with base package

2013-03-28 Thread Nicole Ford
", "country", "net", "diversity")] wvsA$country <- as.character(wvsA$country) wvsB$country <- as.character(wvsB$country) norway <- wvsA[which(wvsA$country == "norway"), ] russia <- wvsB[which(wvsB$country == "russia"), ] ukraine

Re: [R] bayesian HLM random effects

2013-03-28 Thread Nicole Ford
right i am sorry. i am working in the dput() now. ~Nicole Ford Ph.D. student Graduate Assistant/ Instructor University of South Florida Government and International Affairs office: SOC 012M On Mar 28, 2013, at 12:01 PM, Sarah Goslee wrote: > Key words being "small reproducible

[R] unique not working

2013-03-28 Thread Nicole Ford
i am using mac OSX 10.7.5, running R version 2.15.2 (2012-10-26) -- "Trick or Treat" when i do: uncountry <- unique(wvsAB[,7]) wvsAB$numcountry <- match(wvsAB$country, uncountry) "unstate" isn't attaching. > library(base) > uncountry <- unique(wvsAB[,7]) > wvsAB$numcountry <- match(wvsAB$country

[R] bayesian HLM random effects

2013-03-28 Thread Nicole Ford
Hello, all. I've been working on this for sometime and was almost at the end/ last chunk of code i would need When I received an error. Rather than go to bed and think about it in the morning, I messed with my data and now I am not getting anything. I was up until 4am trying to fix this.

Re: [R] lmer, p-values and all that

2013-03-27 Thread Nicole Ford
xed-models/2011q1/015591.html On Mar 27, 2013, at 10:13 PM, Nicole Ford wrote: > i literally just ran one. > > when i ran one of mine and the did summary(mod) i get the following: > >> mod <- lmer(dem ~ xbar + cpi + (1 | country), data=wvsAB) >> summary(mod) > Linear

Re: [R] lmer, p-values and all that

2013-03-27 Thread Nicole Ford
i meant to add, i am not sure if an "example" lmer model woulf be helpful, since i can't see the OP. On Mar 27, 2013, at 10:13 PM, Nicole Ford wrote: > i literally just ran one. > > when i ran one of mine and the did summary(mod) i get the following: > >>

Re: [R] lmer, p-values and all that

2013-03-27 Thread Nicole Ford
i literally just ran one. when i ran one of mine and the did summary(mod) i get the following: > mod <- lmer(dem ~ xbar + cpi + (1 | country), data=wvsAB) > summary(mod) Linear mixed model fit by REML Formula: dem ~ xbar + cpi + (1 | country) Data: wvsAB AIC BIC logLik deviance REMLdev

[R] creating a new variable.

2013-03-18 Thread Nicole Ford
command, etc. Thanks in advance. ~Nicole Ford Ph.D. student Graduate Assistant/ Instructor University of South Florida Government and International Affairs office: SOC 012M __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-he

[R] creating a new variable.

2013-03-18 Thread Nicole Ford
command, etc. Thanks in advance. ~Nicole Ford Ph.D. student Graduate Assistant/ Instructor University of South Florida Government and International Affairs office: SOC 012M __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-he

Re: [R] Export R generated tables and figures to MS Word

2013-03-12 Thread Nicole Ford
probably not the answer you're looking for but i only use LaTeX. On Mar 12, 2013, at 8:02 PM, Santosh wrote: > Dear Rxperts, > I am aware of Sweave that generates reports into a pdf, but do know of any > tools to generate to export to a MS Word document... > > Is there a way to use R to ge

Re: [R] Test of Parallel Regression Assumption in R

2013-03-11 Thread Nicole Ford
here's some code as an example hope it helps! mod<-polr(vote~age+demsat+eusup+lrself+male+retnat+union+urban, data=dat) summary(mod) mod<-polr(vote~age+demsat+eusup+lrself+male+retnat+union+urban, data=dat) levs<-levels(dat$vote) tmpdat<-list() for(i in 1:(nlevels(dat$vote)-1)){ tmpdat[[i]

Re: [R] chi square exact test

2013-03-06 Thread Nicole Ford
A quick google search produces multiple results. Good luck. :) ~Nicole Ford Ph.D. Student Graduate Assistant/ Instructor Department of Government and International Affairs University of South Florida office: SOC 012M Sent from my iPhone On Mar 6, 2013, at 6:30 AM, Knut Krueger wrote: > S

Re: [R] Empirical Bayes Estimator for Poisson-Gamma Parameters

2013-03-03 Thread Nicole Ford
> alpha/beta!! > > Any idea? > > Kind regards, > > > > -Original Message- > From: Nicole Ford [mailto:nicole.f...@me.com] > Sent: Sunday, March 03, 2013 4:09 AM > To: Bert Gunter > Cc: Boroumideh-Ali Akbar; r-help@r-project.org > Subject: Re: [R] Em

Re: [R] Empirical Bayes Estimator for Poisson-Gamma Parameters

2013-03-02 Thread Nicole Ford
also, kruschke at indiana has some info on this, both online and youtube. (if homework.) if not, more infor will be helpful. ~n On Feb 25, 2013, at 9:41 AM, Bert Gunter wrote: > Homework? We don't do homework here. > > If not, search (e.g. via google -- "R hierarchical Bayes" -- or some suc

Re: [R] Empirical Bayes Estimator for Poisson-Gamma Parameters

2013-03-02 Thread Nicole Ford
just seeing this. when you say y1 and y2, are you asking about 2 differnt models in an effort to model select? i need more info, i might be able to help. please supply a bit more info. ~n On Feb 25, 2013, at 4:39 AM, Ali A. Bromideh wrote: > Dear Sir/Madam, > > > > I apologize for any cr

Re: [R] Efficient way to perform linear regressions

2013-02-27 Thread Nicole Ford
I am sorry I realized your asking how to extract elements I hope this will -at least- put you in the right direction until someone else can help. http://data.princeton.edu/R/linearModels.html ~Nicole Ford Ph.D. Student Graduate Assistant/ Instructor Department of Government and

Re: [R] Efficient way to perform linear regressions

2013-02-27 Thread Nicole Ford
more efficient method. ~Nicole Ford Ph.D. Student Graduate Assistant/ Instructor Department of Government and International Affairs University of South Florida office: SOC 012M Sent from my iPhone On Feb 26, 2013, at 11:41 AM, Jie wrote: > Hi All, > > I have millions of regressio

Re: [R] legend issues.

2013-02-26 Thread Nicole Ford
t being attacked? no one is perfect all of the time. anyway. that is is rhetorical question. i don't wish to engage in a online 'argument' or defense of my honest mistake. so i will bow out of this thread at this time out of repect for everyone else. ~Nicole Ford Ph

Re: [R] legend issues.

2013-02-25 Thread Nicole Ford
by the time your rude reply came ( you are often rude to people so i shouldn't have been surprised but somehow was) , i had already found my answer, by doing it MYSELF on her computer and found had not followed some simple instructions. be well. ~Nicole Ford Ph.D. student Graduate Assi

Re: [R] legend issues.

2013-02-25 Thread Nicole Ford
I did look at ??pie ??graphics, as per my reply. which netted nothing of value. thanks. ~Nicole Ford Ph.D. student Graduate Assistant/ Instructor University of South Florida Government and International Affairs office: SOC 012M e: nmhi...@mail.usf.edu http://gia.usf.edu/student/nford/ On

[R] legend issues.

2013-02-25 Thread Nicole Ford
gt; histogram(strength, xlab="Earthquake Strength", ylab="Relative Frequency by > Percentage") > pie(table(strength)) legend("topright", title="Earthquake Strength", cex=0.6, pch=16, col=c("white", "blue", "red"), legend=

Re: [R] colors to pie chart.

2013-02-24 Thread Nicole Ford
Ah perfect thanks. :))) ~Nicole Ford Ph.D. Student Graduate Assistant/ Instructor Department of Government and International Affairs University of South Florida office: SOC 012M e: nmhi...@mail.usf.edu http://gia.usf.edu/student/nford/ Sent from my iPhone On Feb 25, 2013, at 2:04 AM, PIKAL

[R] colors to pie chart.

2013-02-24 Thread Nicole Ford
hello, all. i am trying something new and am stuck. i typically go with whatever colors the pie function pops out, but i would like to customize it. please find below a sample dataset. ##TVs per household. TVs <- factor(c(rep("0", 1), rep("1", 16), rep("2", 14), rep("3", 12), rep("4", 3), rep

Re: [R] Help xyplot

2013-02-23 Thread Nicole Ford
As to your xyplot question, I found a multiline solution. (Below) I am pretty certain there is a multipolt/ graph solution in the effects package (I haven't used that functionality in some years). http://r.789695.n4.nabble.com/XYplot-in-Lattice-Package-td878511.html ~Nicole Ford

Re: [R] Help xyplot

2013-02-23 Thread Nicole Ford
> The actual data have more than 5 thousand data points, Just want to plot a few > #selected randomly. Based on this, it seems you're looking to pull a random sample of 5 from your dataset. Does this link help? http://stat.ethz.ch/R-manual/R-patched/library/base/html/sample.html ~

Re: [R] HELP!!!

2013-02-22 Thread Nicole Ford
Wow, Jim- fun tid bit! Unrelated to op, but I will say thank you- as I know it will be useful! ~Nicole Ford Ph.D. Student Graduate Assistant/ Instructor Department of Government and International Affairs University of South Florida office: SOC 012M e: nmhi...@mail.usf.edu http://gia.usf.edu

[R] creating a new variable.

2013-02-18 Thread Nicole Ford
hello, all. in my previous research, i have always used existing data. i am trying something new as an exploratory exercise and have never create my own variable form scratch. essentially, i am creating a variable for party affiliation. here is an example. var =party. levels= democrat, repu

Re: [R] lm regression query

2013-02-14 Thread Nicole Ford
> > You could also run it and find out. There are many R tutorials free online. I presume crime is continuous, as well...? ~Nicole Ford Graduate Instructor Department of Government and International Affairs University of South Florida office: SOC 012M e: nmhi...@mail.usf.ed

Re: [R] lm regression query

2013-02-14 Thread Nicole Ford
You will also need to specify/ name your model: Mod <- lm(Crime~. ~Nicole Ford Graduate Instructor Department of Government and International Affairs University of South Florida office: SOC 012M e: nmhi...@mail.usf.edu http://gia.usf.edu/student/nford/ Sent from my iPhone On Feb

[R] error installing manipulate package.

2013-02-06 Thread Nicole Ford
hello, all. I am having his problem. i looked in archives and could not find a solution. --- Please select a CRAN mirror for use in this session --- Warning message: package ‘manipulate’ is not available (for R version 2.15.2) thank you in advance. _