search for: ogbos

Displaying 20 results from an estimated 66 matches for "ogbos".

2009 Aug 27
2
chooseCRANmirror()
...ages. I am in South Africa. It always asked me to choose the nearest CRAN mirror. I normally choose South Africa and once I clicked Ok, the error message pasted below will appear. Please I am a new student of R and Ubuntus. The other warning "argument 'lib' is missing: using '/home/ogbos/R/i486-pc-linux-library/2.8'" is also a source of worry to me. Could you please be kind enough to guide me. Your help will be much appreciated. Ogbos > install.packages("cvt") Warning in install.packages("cvt") : argument 'lib' is missing: using '/home...
2016 Apr 22
0
clock24.plot
Hi Ogbos, Here is your sample data plotted in roughly the same way as the image. You can get the hours to start at the bottom, but it will require more code. swe$hour<-as.numeric(sapply(strsplit(swe$time,":"),"[",1)) swe$FD<-sample(1:2,nrow(swe),TRUE) library(plotrix) clock24.plot...
2010 Oct 14
1
installing grid package
...id package failed to installed on my machine. Can anybody have a look and advice on where I am missing it. My R version is 2.9.2. After untarring: tar xzvf grid_0.7-4.tar.gz, I tried to configure or make but none worked, 'no such files'. I have also tried using : sudo R CMD INSTALL /home/ogbos/Desktop/goo/grid_0.7-4.tar.gz which also resulted in the error below. * Installing to library '/home/ogbos/R/i486-pc-linux-gnu-library/2.8' * Installing *source* package 'grid' ... Error: Invalid DESCRIPTION file Invalid package name. This is the name of a base package. Execution...
2009 Aug 27
2
Installing R Packages on ubuntus
...://r-forge.r-project.org/>") so as to install the package, but no luck. Below is the error message: Warning in install.packages("raster", repos = "http://R-Forge.R-project.org<http://r-forge.r-project.org/>") : argument 'lib' is missing: using '/home/ogbos/R/x86_64-pc-linux-gnu-library/2.8' Warning: unable to access index for repository http://R-Forge.R-project.org/src/contrib<http://r-forge.r-project.org/src/contrib> Warning message: In install.packages("raster", repos = "http://R-Forge.R-project.org<http://r-forge.r-proj...
2016 Apr 30
3
Could not find function "pointsToRaster"
..., envir, enclos) : could not find function "pointsToRaster" I have tried to see if there is any other package I need to install to take of the problem, I could not see. Already, when I installed raster, it installed its dependencies such as sp. Can any body please bail me out. Thanks Ogbos
2011 Jan 26
3
adding error bars
Dear all, I am trying to add error bars on a boxplot but have encountered an error as indicated below. Is there a package I need to install or a library I have to load before this goes please. Thanks for any idea. Ogbos x<-replicate(20,rnorm(50)) boxplot(x,notch=TRUE,main="Notched boxplot with error bars") error.bars(x,add=TRUE) Error: could not find function "error.bars" [[alternative HTML version deleted]]
2018 Jan 22
2
Manipulating two large dataset differing by date and time
...le data is attached as 2005daily.txt. I would like to adapt the code to handle data of the form: 05 01 01 00 4009 (year, month, day, hour and count) 05 01 01 01 3969 (year, month, day, hour and count) The sample is also attached as 2005hourly.txt. Thank you very much for your kind inputs. Ogbos data <- read.table("2005daily.txt", col.names = c("year", "month", "day", "counts")) new.century <- data$year < 50 data$year <- ifelse(new.century, data$year + 2000, data$year + 1900) data$date <- as.Date(ISOdate(data$year, dat...
2018 Jan 22
0
Manipulating two large dataset differing by date and time
Hi Ogbos, You can just use ISOdate. If you pass more values, it will process them: ISOdate(2018,01,22) [1] "2018-01-22 12:00:00 GMT" > ISOdate(2018,01,22,18,17) [1] "2018-01-22 18:17:00 GMT" Add something like: if(is.null(data$hour),data$hour<-12 then pass data$hour as it will...
2009 Aug 25
2
latitude and longitude distribution
...11.3654 -42.8249 -2.6652 -73.2344 -13.3543 -56.5338 27.9594 -157.9413 29.4454 -62.0620 -5.1953 116.0678 31.7057 -62.7211 -15.6194 124.6710 -7.1434 -72.2230 -19.1066 -45.6655 I would be extremely grateful should anyone be king enough as to guide me on how to handle this plot. Thank you for any help. Ogbos [[alternative HTML version deleted]]
2010 Mar 09
3
Removing Zeros from matrix
...y, I have a matrix of about 45 columns. Some of the rows contain zeros. Using >data1<-data[complete.cases(data),], I can remove the "NA" rows. But I am unable to tackle that of zeros. Can anybody give me an idea of how to remove rows containing zeros in a matrix. Thanks so much Best Ogbos [[alternative HTML version deleted]]
2024 Mar 29
1
Output of tapply function as data frame: Problem Fixed
?s 01:43 de 29/03/2024, Ogbos Okike escreveu: > Dear Rui, > Thanks again for resolving this. I have already started using the version > that works for me. > > But to clarify the second part, please let me paste the what I did and the > error message: > >> set.seed(2024) >> data <- data.fram...
2024 Mar 29
2
Output of tapply function as data frame: Problem Fixed
...order is not Date/count. Both are fixed > # after the calculations. > res You can see that the error message is on the pipe. Please, let me know where I am missing it. Thanks. On Wed, Mar 27, 2024 at 10:45?PM Rui Barradas <ruipbarradas at sapo.pt> wrote: > ?s 08:58 de 27/03/2024, Ogbos Okike escreveu: > > Dear Rui, > > Nice to hear from you! > > > > I am sorry for the omission and I have taken note. > > > > Many thanks for responding. The second solution looks elegant as it > quickly > > resolved the problem. > > > > Please...
2010 Jun 07
2
Polar coordinate
...e (0-24h) and magnitudes so as to visualize how magnitude varies with different times of the day (e.g., morning, midnight hours). I have searched for "polar coordinates in R" but could not get helpful hints. I would be most grateful if anyone could advise me on where to start. Thank you. Ogbos [[alternative HTML version deleted]]
2011 Jul 27
2
Expression: +/-sigma
...with the symbol +/- sigma. Using something like - expression (2*sigma) gives me the symbol 2ó. However, adding +/- to it beats me. The code I am using is: plot(x,y,type="l",main=" expression(paste("±", plain(2*ó)),sep=""). Any suggestion will be appreciated. Best Ogbos [[alternative HTML version deleted]]
2016 Apr 29
0
clock24.plot/radial plot: Fixed
Dear All, This problem is over. Clock24.plot did the job. Thanks to all those who assisted me. Ogbos On Apr 22, 2016 8:34 PM, "Ogbos Okike" <giftedlife2014 at gmail.com> wrote: > Dear All, > One hand. Many thanks!! The code run as soon as I loaded lubridate. > > Please can you guide me on how to relate this code to my actual data. > My actual data is looking like: &...
2016 Apr 22
2
clock24.plot/radial plot
...he above but got an error message: "Error in eval(expr, envir, enclos) : could not find function "days" I was thinking that if I could run this code, I can see what is doing and then start trying to see if I can adapt it to solve my problem. Thank you so much for further assistance. Ogbos On 4/22/16, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: > I use ggplot2 for all my plotting needs where you can make plots circular > with the coord_polar. Maybe this will help you along: > http://rstudio-pubs-static.s3.amazonaws.com/3369_998f8b2d788e4a0384ae565c4280aa47.html...
2016 Apr 30
0
Could not find function "pointsToRaster"
...type of issue (and pretty much anything related to R) is http://rseek.org/ I'm sure I use it at least daily. Check out ... http://rseek.org/?q=pointsToRaster The first hit is about pointsToRaster() - it has been replaced by raster::rasterize() Cheers, Ben > On Apr 30, 2016, at 4:28 AM, Ogbos Okike <giftedlife2014 at gmail.com> wrote: > > Dear All, > I have a script that draws longitude and latitude of lightning > occurrence. This script was running fine before. But when I changed my > system and do a fresh install on another laptop, this error persist. > source...
2009 Aug 28
1
No internet connection
Good morning all, I am running linux on Ubuntus. I am unable to install any R packages. The error message below always returns whenever I make an attempt: > install.packages("cvt") Warning in install.packages("cvt") : argument 'lib' is missing: using '/home/ogbos/R/i486-pc-linux- gnu-library/2.8' --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done Warning: unable to access index for repository http://cran.za.r-project.org/src/contrib Warning messages: 1: In open.connection(con, "r") : unable to conne...
2009 Sep 16
2
Turnpoints
...ed pastecs and have been trying to use turnpoints function to do this. I have not been much lucky. I am a still learning. I have added part of my data here where y stands for year, m month, d day and lastly the count. I would be grateful to anyone who could show me the way the do this. Best regards Ogbos y m d count 93 02 07 3974.6 93 02 08 3976.7 93 02 09 3955.2 93 02 10 3955.0 93 02 11 3971.8 93 02 12 3972.8 93 02 13 3961.0 93 02 14 3972.8 93 02 15 4008.0 93 02 16 4004.2 93 02 17 3981.2 93 02 18 3996.8 93 02 19 4028.2 93 02 20 4029.5 93 02 21 3953.4 93 02 22 3857.3 93 02 23 3848.3 93 02 24 3...
2016 Apr 22
0
clock24.plot/radial plot
...inutes(), seconds(), and hour() which all come from that package. ------------------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ogbos Okike Sent: Friday, April 22, 2016 2:05 PM To: Ulrik Stervbo Cc: r-help at r-project.org Subject: Re: [R] clock24.plot/radial plot Kind Experts, Many thanks for your guide. I have tried to figure out something that can help me plot my own data using the examples you referred me to. I copied part o...