similar to: Windows - **Paste commands only** issue

Displaying 20 results from an estimated 4000 matches similar to: "Windows - **Paste commands only** issue"

2011 May 09
2
Creating Observation ID
If I have a data frame something like: Value=rnorm(30) Group = sample(c('A','B','C'), 30, replace=TRUE) df = data.frame(Value, Group) It seems like it should be simple to create an 'ObsID' column which indicates the observation order of each Value within each of the 3 groups. Somehow, I can't quite see how to do it without manually sub-setting the parent data
2011 Mar 25
2
library(foreign) read.spss warning
I got the following: > library(foreign) > swal = read.spss("swallowing.sav", to.data.frame =TRUE) Warning message: In read.spss("swallowing.sav", to.data.frame = TRUE) : swallowing.sav: Unrecognized record type 7, subtype 21 encountered in system file > The bulk of the data seems to read in a usable form, but I'm curious about what might be getting lost
2011 Feb 10
2
Hmisc errbar color
Is there an easy way to make the error bars the same color as the points and lines they are plotted with. My example # fake data x=sample(1:10, 100, replace =T) y = rnorm(100) + runif(100) df=data.frame(x,y) # summarize data m = aggregate(df,list(x),mean) se = aggregate(df,list(x),sd)/sqrt(10) library(Hmisc) plot(x,y) errbar(m$x, m$y, m$y+1.96*se$y,
2010 Oct 19
3
R 2.12.0 and JGR
Since upgrading to 2.12.0, I'm having trouble getting the JGR to start under Windows 7, but I'm not quite sure what's happening. When I try to run the JGR.exe stub, the dialog says can't find Java R interface jri.dll. As nearly as I can tell from a Google search this is to be a part of the rJava package which seems to load fine with the library(rJava) command from the Windows R
2011 Apr 06
1
corSpatial and nlme
I noticed that ?corClasses in package nlme does not list corSpatial among the standard classes. This might either be intentional because corSpatial is not "standard" , or it might be simply an oversight that needs correcting. ------------------------------------------ Robert W. Baer, Ph.D. Professor of Physiology Kirksville College of Osteopathic Medicine A. T. Still University of
2010 Mar 18
1
Rcmdr plugins produce error
I recently updated all my plugins, and for the fun of it, I added ALL the Rcmdr Plugins to my collection to see what functionality might exist. I started Rcmdr and loaded ALL the available Plugins from to the Rcdmdr Tools menu. To my suprise Rcmdr produced a number of warnings and finally an error. The error suggests that some of the extensions are incompatable with each other because of menu
2018 Jul 16
2
persp command
Dear R-devel mailing list, I am wondering whether the "theta" and "phi" parameters of the "persp" function in the graphics commands are named in error (the names seem to have been swapped). Also, in the documentation to "persp", reference is made to "colatitude" when the effect in the image is actually that of "latitude". Thank you,
2011 May 19
2
recursive function
Hi, I created a function for obtaining the normal cumulative distribution (I know all this already exists in R, I just wanted to verify my understanding of it). below is the code I came up with. cdf<-function(x) { erf<-function(x) { # approximation to the error function (erf) of the # normal cumulative distribution function # from Winitzki
2017 Jun 23
1
MODISTools Help
On 6/22/2017 7:05 PM, Caroline wrote: > ##MODISTools example > library(MODISTools) > library(lubridate) > setwd('~/Documents/Modis data') > > #####MODISTools with buffalo data > > ###Read in data rename for easier coding > tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv') Since this dataset is only on your desktop it cannot help us
2017 Aug 11
0
PROC MIXED RANDOM equivalence in R nlme
On 8/10/2017 8:34 AM, Dennis F. Kahlbaum wrote: > -- snip -- I don't have real help, but I'll remind you that R is case sensitive, and it looks like that will be at least one problem in the solution your are working on below: lme not LME data not DATA random = RANDOM > ------------------------------------------------------------------ > > The R code I've devised for the
2017 Feb 03
0
Suggestion: barplot function
On 1/27/2017 8:30 AM, danielrenato at lycos.com wrote: > Hello developers folks! > > First, congratulations for the wonderful work with R. > > For science, barplots with error bars are very important. We were > wondering that is so easy to use the boxplot function: > > boxplot(Spores~treatment, col=treatment_colors) > > But there is no such function for barplots with
2011 May 20
5
regression coefficient for different factors
Dear R-helpers, In my dataset I have two continuous variable (A and B) and one factor. I'm investigating the regression between the two variables usign the command lm(A ~ B, ...) but now I want to know the regression coefficient (r2) of A vs. B for every factors. I know that I can obtain this information with excel, but the factor have 68 levels...maybe [r] have a useful command. Thanks,
2009 Sep 15
1
R Journal
Is there a good search tool, either in R itself or in a public place, to search for R Journal (R News) articles on a given package or topic? I found the Table of Contents and the BibTex file, but I was looking for something a little more flexible. These lists are getting impressively long after an almost 9 year time span. I apologize if I missed the obvious. And kudos to the editors and
2009 Oct 29
1
strsplit() and Windows file paths
There are two ways to express file paths with the Windows environment: > a=file.choose() > a [1] "C:\\Documents and Settings\\rbaer\\Desktop\\_VNT_Test\\coordFocused 20k F5 0ng Ki8751 t20.txt" and >b= paste(getwd(),"/",dir()[1],sep="") >b [1] "C:/Documents and Settings/rbaer/Desktop/_VNT_Test/coordFocused 20k F5 0ng Ki8751 t20.txt" I have 2
2012 Mar 30
2
Problem loading package 'JGR' using R-2.15.0 (Win32).
Hi all. Upon attempting to load the 'JGR' package, on a Win32 machine (SP3), a pop-up message appeared stating that R had encountered a problem and needs to close. Has anyone else encountered this? Thanks. ~Caitlin [[alternative HTML version deleted]]
2012 Jun 05
0
ggplot2, grid graphics, x11(), windows(), and device fonts
I am trying to use ggplot() to produce a graph and am getting warnings that I don't understand. This is happening from within RStudio, but also happens if I start Windows R GUI. Can anyone help me understand the warning and how to make sure the right fonts are designated? The relevant code fragment is: x11(width=7, height = 7) library(ggplot2) # Now some Distance ~ Time plots p2 <-
2018 Jul 16
0
persp command
On 7/16/2018 7:28 AM, Christian Rau wrote: > Dear R-devel mailing list, > > I am wondering whether the "theta" and "phi" parameters of the "persp" > function > in the graphics commands are named in error (the names seem to have been > swapped). Not that it is authoritative, but one gleans from wikipedia,
2017 Jan 27
4
Suggestion: barplot function
Hello developers folks! First, congratulations for the wonderful work with R. For science, barplots with error bars are very important. We were wondering that is so easy to use the boxplot function: boxplot(Spores~treatment, col=treatment_colors) But there is no such function for barplots with standard deviation or standard error. It becomes a "journey" to plot a simple graph (e.g.
2011 May 21
1
Group close numbers in a vector
Hi everyone, i am trying to group close numbers in a vector. For example i have a vector x = [1 2 4 7 9 10 15]. I want the code to pick 1 2 4 (max difference between successive numbers is 2) and assign them to variable a, then pick 7 9 10 and assign them to b and 15 to c. But since i do not know how many groups there will be the code should create a,b,c etc as it goes along. So if x = [1 2 4 7 9
2011 May 27
1
Normality test
Dear Sir, I am writing to inquire about normality test given in nortest package. I have a random data set consisting of 300 samples. I am curious about which normality test in R would give me precise measurement, whether data sample is following normal distribution. As p value in each test is different in each test, if you could help me identifying a suitable test in R for this medium size of