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.
I have called geom_hline to insert a horizontal line on the y axis of a plot at a given point. How can I insert the corresponding tick and its value on the y axis itself? Ken kmnanus at gmail...
I have a series of dates in format 3-Oct, 10-Oct, 20-Oct, etc. I want to create a variable of just the month. If I convert the date to a character string, substr is ineffective because some of...
I have a factor variable that is 6 digits and hyphenated. For example, 001-014. I need to extract the first 3 digits to a new variable using mutate in dplyr - in this case 001 - but can?t find a...
I?m working with a data frame called ?Koufax? (his lifetime pitching stats) in order to improve my ggplot2 skills. I?ve worked with a variety of iterations of ken <- ggplot(koufax, aes(x = W, y = IPouts, color = SO)) + geom...
I?m a newbie and trying to execute this simple function in order to change wk 5 NA?s to wk 4 values for the dataset (ken) below. Can someone pls tell me what I?m doing wrong? The error...
I?m plotting few dozen variables, doing so because I need to examine them one at a time. The range of these variables varies widely. One can range from -.5 to .03, another from -600 to +750. I want both...
I?m a newbie running 3.2.4 on a mac equipped with Yosemite (10.10.5). I want to update to 3.3.1 and have downloaded the package, but have not been able to install it. I?ve...
Here?s how I did it - Save the xlsx file as a .csv. Then call read.csv(?your file.csv?) and you should be in. Ken kmnanus at gmail.com 914-450-0816 (tel) 347-730-4813 (fax) > On Mar...
I?m trying to read in the data below from an Excel file (as a .csv file) in order to create an age (in years.%years) but am getting the error message in the subject line. I?ve tried saving...
If you?re on a mac, just go into finder, then applications. highlight R studio and drag it to the dock. Then double-click it and r studio should start. If you?re on Windows, I don?t have a...
Have you set your working directory to the ?3.2? folder? Ken kmnanus at gmail.com 914-450-0816 (tel) 347-730-4813 (fax) > On Mar 21, 2016, at 5:07 PM, James Henson <jfhenson1 at gmail.com> wrote: > > Dear...
When I did that, I got - "Error in `$<-.data.frame`(`*tmp*`, "site", value = integer(0)) : replacement has 0 rows, data has 6? The data frame has 6 rows. Ken kmnanus at gmail.com 914-450-0816 (tel) 347-730-4813...
I signed up with plotly on their own site - https://plot.ly/ <https://plot.ly/> - and got a username and password. When I installed the package in R, I got the following error msg - "Storing 'username' as the environment variable...
I?m inexperience but am trying to get my head around using functions to make a number of ggplots easier to do. I have a function that creates a ggplot taking one input variable as an argument. The variable name...
I have a large dataset, a sample of which is: a<- c(?A?, ?B?,?A?, ?B?,?A?, ?B?,?A?, ?B?,?A?, ?B?) b <-c(15, 35, 20, 99, 75, 64, 33, 78, 45, 20) c<- c( 111, 234, 456, 876...
When I do that, I get "Error in `$<-.data.frame`(`*tmp*`, "site", value = integer(0)) : replacement has 0 rows, data has 6? The data frame has 6 rows. Ken kmnanus at gmail.com 914-450-0816 (tel) 347-730-4813...
Boris - Boy, do I feel dumb - that?s exactly what I wanted. I?ve tried this every way I can think of without assigning the result to the original name of the data frame. I was trying to assign the...
Thanks. Actually, found a good answer online - I wanted a horizontal line with a y intercept of 12.6. I set m <- 12.6 I drew the line with geom_hline then added geom_text(aes(0,m,label = m...
You?ve stated my intent perfectly. I tried depress(substitute(x)) within ggplot and it didn?t work. However, the solution (which I discovered about 10 minutes ago), turned out to remarkably easy - I just assigned the new variable and...
Thanks for getting back to me. Worked like a charm. Ken kmnanus at gmail.com 914-450-0816 (tel) 347-730-4813 (fax) > On Aug 22, 2016, at 11:45 PM, Thomas Mailund <mailund at birc.au.dk> wrote: > > Hi...
Can't find what you're looking for? Try searching with Google .