similar to: Function to recognise convert dates between gregorian and other calendars (e.g. Persian)?

Displaying 20 results from an estimated 700 matches similar to: "Function to recognise convert dates between gregorian and other calendars (e.g. Persian)?"

2009 Jan 09
0
ConvCalendars
A new package ConvCalendars is on CRAN, in response to requests earlier this week. It performs conversions between the Gregorian calendar and other calendars including the Persian (Jalali) calendar used in Iran and Afghanistan and the Hebrew calendar used in Israel. All the heavy lifting is done by C code from http://www.projectpluto.com. -thomas Thomas Lumley Assoc. Professor,
2009 Jan 09
0
ConvCalendars
A new package ConvCalendars is on CRAN, in response to requests earlier this week. It performs conversions between the Gregorian calendar and other calendars including the Persian (Jalali) calendar used in Iran and Afghanistan and the Hebrew calendar used in Israel. All the heavy lifting is done by C code from http://www.projectpluto.com. -thomas Thomas Lumley Assoc. Professor,
2012 Nov 18
2
Question about making histogram and x must be numeric
Hello all, I hope someone of you can help me out, I have searched other posts as well but I can't find any solution to the problem I'm dealing with. I want to make a histogram from the data Telephone Lines MDGdataset <-read.csv("MDG_dataset_2010.csv", header=T) MDGdatasetAdapted <- subset(MDGdataset, select = c(Country_Code, Country_Name, Year,
2017 Nov 08
2
Help Converting Calendars
R-Help Trying to convert a Gregorian calendar dataset to a Persian calendar dataset. But I end up with a list and not sure what to do. For example ... dates <- c("2017-10-1","2017-10-2","2017-10-3") myData <- data.frame(dates) myData$dates <- as.Date(myData$dates, format = "%Y-%m-%d") > myData dates 1 2017-10-01 2 2017-10-02 3
2013 May 11
1
(no subject)
Hello, I am attempting to use the "classInt" package in conjunction with "rworldmap" package in R to construct a chloropleth. I want to use the fixedBreaks argument to specify given breaks. My data look like this: > head(Maji) Country waterused CC 1 Afghanistan 36 AFG 2 Albania 4 ALB 3 Algeria
2017 Nov 08
0
Help Converting Calendars
How about > p_dates <- paste0(p.dates[[3]], "-", p.dates[[2]], "-", p.dates[[1]]) > myData$p_dates <- p_dates > print(myData, right=FALSE) dates p_dates 1 2017-10-01 1396-7-9 2 2017-10-02 1396-7-10 3 2017-10-03 1396-7-11 > str(myData) 'data.frame': 3 obs. of 2 variables: $ dates : Date, format: "2017-10-01"
2008 Sep 21
1
diff() for panel data
Hello, everyone! I'd like to find out how I can do first log differences in a panel? (The Penn World Table data that's available in the PWT package) The regular diff() function ignores the country/index/"panel unit", with depressing results. A second request, how can I best "filter" the data (e.g. generate a data frame with the data for a single country or a single
2008 Oct 24
7
combining data from different datasets
Hi, I have two tables: > iso continent code code3 codenum country 1 EU AD AND 20 Andorra, Principality of 2 AS AE ARE 784 United Arab Emirates 3 AS AF AFG 4 Afghanistan, Islamic Republic of 4 NA AG ATG 28 Antigua and Barbuda 5 NA AI AIA 660
2020 Apr 19
0
Free Persian Asterisk Book and COVID-19 Pandemic
In the context of the COVID-19 pandemic, Nasim Telecom decided to publish the first six-captures of Persian Asterisk book that was written by me and Mr Najafi, published in 2017. Also it was introduced by Mr. David Duffett in AstriCon 2017 on Florida. It would be useful for all people which understand Persian language, Also all other people could use it by going code commands on it and examples.
2007 May 07
0
using acts_as_ferret in persian language
hi i installed ferret and acts_as_ferret successfully. but my Persian character search has not correct result. my code: acts_as_ferret :fields => [:fname] , :analyzer => Ferret::Analysis::RegExpAnalyzer.new(/./,false) -- Posted via http://www.ruby-forum.com/.
2018 Mar 03
12
[PATCH v2 0/7] Modernize vga_switcheroo by using device link for HDA
Modernize vga_switcheroo by using a device link to enforce a runtime PM dependency from an HDA controller to the GPU it's integrated into, v2. Changes since v1: - Replace patch [1/7] to use pci_save_state() / pci_restore_state() for consistency between runtime PM code path of bound and unbound devices. (Rafael, Bjorn) - Patch [5/7]: Drop an unnecessary initialization. (Bjorn) Rephrase
2016 Jul 15
2
[PATCH v3 0/4] nouveau RPM fixes for Optimus (final)
On Fri, Jul 15, 2016 at 12:10:23PM -0400, Ilia Mirkin wrote: > On Fri, Jul 15, 2016 at 9:12 AM, Peter Wu <peter at lekensteyn.nl> wrote: > > Hi, > > > > Here are two patches to fix an issue reported on kernel bugzilla (infinite loop > > due to unchecked function) and a more important fix to fix hanging Optimus > > machines when runtime PM is enabled (with
2017 Jun 20
2
by can not find transpose function
I am trying to transpose a dataframe by its first column using the by statement using the t function. When I use the by function, I get a message, Error in FUN(X[[i]], ...) : could not find function "FUN" I don't think I have a syntax error in my by statement because the by statment works using the print function. Data and an executable example follows: phonydata2 <-
2017 Jun 20
0
by can not find transpose function
> On Jun 20, 2017, at 7:19 AM, Sorkin, John <jsorkin at som.umaryland.edu> wrote: > > I am trying to transpose a dataframe by its first column using the by statement using the t function. When I use the by function, I get a message, > > Error in FUN(X[[i]], ...) : could not find function "FUN" > > I don't think I have a syntax error in my by statement
2006 Jul 18
2
how can I delete rows?
Hello, I am very new in R so I am so sorry for this question. I have the Barro-Lee data set which contains 98 countries and I want to run the regressions only for the Latin America countries, so what do you recomend? How can I delete all the other countries or how can I select the countries of Lat. Am. thank you this is the list of countries SHCODE COUNTRY NAME WBCTRY
2012 Jan 15
1
Correct Localized Numbers on Plots, related to glibc!
Dear R Helpers, I want to localize my plots, i.e. the numbers by x & y axis be Persian, using Persian numerals and Persian decimal separator. I change the locale to fa_IR.utf8, but nothing on plots change. I can change the numerals shaping to Persian ones (???? instead of 1234) using some non-standard fonts but the decimal point is a problem. I asked about that in Persian-Computing mailing
2007 Apr 08
10
Ferret and non latin characters support
I''ve successfully installed ferret and acts_as_ferret and have no problem with utf-8 for accented characters. It returns correct results fot e.g. fran?ais. My problem is with non latin characters (Persian indeed). I have tested different locales with no success both on Debian and Mac. Any idea? (ferret 0.11.4, acts_as_ferret 0.4.0, rails 1.1.6) -- Posted via http://www.ruby-forum.com/.
2010 Dec 02
6
Filter data
Hello, I understand that question is probably stupid, but ... I have data (polity IV index) "country","year","democ","autoc","polity","polity2" "1","Afghanistan ",1800,1,7,-6,-6 "2","Afghanistan ",1801,1,7,-6,-6 "3","Afghanistan
2018 Mar 05
0
[PATCH v2 0/7] Modernize vga_switcheroo by using device link for HDA
Hi Lukas, Sorry for the delay, I finally found some time to reviewd and test the patches and found some issues (some of them might already be present in v4.15 without your patches though, I did not try). Test environment: - Branch switcheroo_devlink_v2 (commit v4.15-20-gb33d50c5c6ad) - Laptop: Clevo P651RA (nouveau uses PR3), lspci: 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200
2020 Oct 20
0
write.csv covert Åland to <c5>land
Hi there, Why the same string is displayed in different form? > abc[,1] [1] "?land" "Afghanistan" > abc name 1 <c5>land 2 Afghanistan And more... > dput(abc, "aa.txt") > dget("aa.txt") name 1 <c5>land 2 Afghanistan > dget("aa.txt")[,1] [1] "<c5>land"