similar to: histogram for time with format hh:mm

Displaying 20 results from an estimated 10000 matches similar to: "histogram for time with format hh:mm"

2008 Aug 06
2
Merging two datasets
I am facing a problem in merging two datasets. I have given codes to the names which are common in both the datasets and also to those which are uncommon. When I gave gave the following command merge(df1,df2) only those rows and columns were merged which were having common codes. When I viewed the results, only common codes are seen and the remaining entries are not seen. Can anyone guide me
2008 Aug 13
1
Installing R in Ubuntu
Hi, I am running Ubuntu on my Windows OS through VMware. I am trying to install R in Ubuntu, but not getting with those commands, which are there on the site. Can anyone please tell me how to install it, stepwise, with commands to be used. As I m new to Ubuntu as well, I am not aware of the commands very well. Thanks, Shreyasee [[alternative HTML version deleted]]
2009 Jan 26
1
Plotting graph for Missing values
Hi, I have imported one dataset in R. I want to calculate the percentage of missing values for each month (May 2006 to March 2007) for each variable. Just to begin with I tried the following code : *for(i in 1:length(dos)) for(j in 1:length(patientinformation1) if(dos[i]=="May-06" && patientinformation1[j]=="") a <- j+1 a* The above code was written to calculate
2008 Oct 30
1
Creating Vignettes
Hi, I want to create a new vignette and include it in an already existing package. That package has already many vignettes which are related to the chapters from the book on which the package is built. It would be a great help if anyone could help to understand how to create vignette for a statistical test like Chi-Square test. Thanks, Shreyasee [[alternative HTML version deleted]]
2009 Mar 24
2
Calculating percentage Missing value for variables using one object
Hi, I have a dataset in which there are in all 250 variables and for each variable the data is entered over the months. I need to calculate the percentage of missing values for each variable over each month and then plot a graph for that. I am running the following code for doing the same *ds <- read.csv(file="filepath", header=TRUE) attach(ds) may <-
2011 Apr 22
1
histogram of dates
I can't seem to get a histogram of dates: tmt910% R --vanilla R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 ... > temp <- as.Date(1:200, origin="1970/01/01") > range(temp) [1] "1970-01-02" "1970-07-20" > hist(temp) Error in .Internal(inherits(x, what, which)) : 'x' is missing
2009 May 27
2
Intra-observer reliability
Hi, I searched a lot on the internet but was unable to find the function for calculating the kappa statistics for intra-observer reliabilty. Can anybody help me in the this regards. Thanks, Shreyasee [[alternative HTML version deleted]]
2009 Mar 16
1
Scatterplot
Hello, I am having a dataset in which the values range from 0 - 700000. When I tried to plot a scatterplot using following command plot(x,y) I got the plot where the x-axis and y-axis were displayed as 0e+00, 1e+05, 2e+05, ....... I saw the dataset, but there is no erroneous value. Can anybody guide me on this? Thanks, Shreyasee [[alternative HTML version deleted]]
2009 Mar 17
2
Converting time from HH:MM:SS to only HH:MM
Hi all, I need to compare between times and put all similar times in specific 1 minute bins. Unfortunately the original data include seconds as well. My data is in HH:MM:SS format but I need it rounded to only HH:MM and trying in Excel to display "unique" records only does not work since the seconds are not unique. Is there an easy way using perhaps CHRON to change all from the
2008 Sep 19
1
Trouble with difftime()
Hello again, I'm interested in manipulating some date objects, and have been playing with the difftime function. I'm not sure that this is the desired behavior: > pa$days.before.apr30 <- difftime(may01,as.POSIXct(pa$training.max,origin=as.POSIXct("1969-12-31 16:00:00",tz="PDT")),units="days") > units(pa$days.before.apr30) [1] "days" >
2011 Mar 14
4
Serial Date
Hello R Help, I'm working in a project with a software that register date and time data in serial time format. This format is used by excel, for exemple. In this format, 40597.3911423958 is 2011/2/23 09:23:15. First part is number os days since 1900/1/1, and second part is a fraction of a day. I need to make this transformation in R, and use it to make some algebrian operations. I found that
2011 Dec 12
1
Help with charting time in seconds as HH:MM:SS on charts
Hello, I am dealing with data stored in a database as a 'time' object. I export the data from the database to a text file and utilize the 'time_to_sec()' function of the database to convert the human readable time (HH:MM:SS) to seconds so that I can use R to do analysis and create charts of the data. I do not need or use days or dates in the data, and the data range is from
2010 Apr 23
1
help in conditional histogram
Dear Dr. Sarkar, When I try to run the codes, I found the following problem: > h<- sample(1:14, 319, rep=T) > c<- sample(1:14, 608, rep=T) > n<- sample(1:14, 1140, rep=T) > vt<-c(h, c, n) > ta<-rep(c("h", "c", "n"), c(319, 608, 1140)) > > to<-data.frame(vt,ta) > library(lattice) Attaching package: 'lattice'
2012 Mar 29
1
Adding duration (hh:mm:ss)\Converting factor column into duration class
Hi All, I have a data frame: Time1 Time2 1 176:46:10 41:48:06 2 171:28:57 61:19:10 3 178:25:15 34:05:35 4 74:04:20 25:01:55 5 136:11:20 37:59:32 6 138:17:17 30:22:27 7 183:04:48 29:25:02 8 179:35:01 19:29:44 > str(df) 'data.frame': 8 obs. of 2 variables: $ Time1: Factor w/ 583 levels
2008 Sep 01
3
another histogram question
Hi there, I hope this question is not as stupid as the one before ... I tried to shorten my histogram (because the distribution is quite skewed and I simply don't want to see the long tail but still use the histogram plot). How can I do something like this? (The example does not work but I don't know why...) data <- rnorm(100) # as example, of course this is not skewed... h <-
2009 Mar 09
1
Detecting missing variables
Dear All, I have a csv file which has total 510 records and 15 variables. I am trying to write a code which will return me for each record which variable is missing. For e.g. If for record 1, variables 8 & 9 are missing, the R code should return me that. In similar way I need to find the missing variables for each record. It would be a great help if anybody can explain me how should I
2010 Jan 22
1
Invalid input error in tm package
Hello, I am working on "tm" package. I have 2 pdf files saved in the directory D:/Files I issued the following commands (marked in red bold) for which I got some errors and warnings (marked in bold) *surgj <- Corpus(DirSource("D:/Files"), readerControl = list(language = "ansi"))* *Warning messages: 1: In readLines(y, encoding = x$Encoding) : incomplete final
2005 May 21
2
print format for difftime
Has anyone written a function that will print a difftime in the form: hh:mm:ss or yy-mm-dd hh:mm:ss depending on the actual size. (sloppy notation for months/minutes, but surely you get the point). Bendix ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07
2006 Mar 11
2
how to create analog stripchart plots of x vs t (t=mm/dd/yyyy hh:mm:ss)
Hello r-experts, I sure could us a little help. I have an ever updating text file with timestamped data in it. I can reformat in anyway I want if need be but currently I have chosen to make columns of date, time and measuresed value (comma delimeted and with the dates and times in quotes to interpret them as strings). Here is a small section of my text data file:
2004 Jul 29
3
2 questions : format and hh:mm
Dear R-users, i have two questions : 1- first of all, i wish to know the way to obtain a serie with a format like "00" : ( "01","02","03","04"....) or like postal code ("01100","02222"). for instance, i do : > format(strptime(as.character(c(1:4)),"%H"),"%H") but it sounds complicate and not really