search for: pgn

Displaying 20 results from an estimated 35 matches for "pgn".

Did you mean: pfn
2006 Jul 07
3
Converting data frame to zoo
Dear list, I know this is really basic question but I just couldn't get anything to work. (I did a R site search with keywords "zoo" and "data frame" but the server timed out on me.) I have a time series which has the following (typical) format, DATE Open High Low Close Volume 01-JAN-2006 5.25 5.25
2006 Aug 25
5
Quickie : unload library
Dear list, I know it must be obvious and I did my homework. (In fact I've RSiteSearched with keyword "remove AND library" but got timed out.(why?)....) How do I unload a library? I don't mean getting ride of it permanently but just to unload it for the time being. A related problem : I have some libraries loaded at startup in .First() which I have in .Rprofile. Now, I exited R
2010 Jun 16
4
questions on some operators in R
Hi all, I have two questions. Can some one give some help? The first question is regarding the pair of operators "&" and "&&". What is the difference between the two? The second question is regarding "<-" and "=". Usually we use "<-" as the assignment operator. I saw some people use "=". Is there any
2006 Aug 11
3
An apply and rep question
Hi list, I'm sure the explanation must be laughably simple to the experts out there, but I just could figure it out. I have a simple data frame that looks like, >head(da.off) DDate OffP 1 2005-01-01 41.23 2 2005-01-02 44.86 3 2005-01-03 44.86 4 2005-01-04 43.01 5 2005-01-05 45.47 6 2005-01-06 48.62 where the first column DDate currently is character, and OffP is numeric. I want
2007 Apr 24
4
Size of an object in workspace
Hi folks, Is there a function to show the size of an R object? eg. in Kbytes? Couple months ago Bendix Carstensen posted this marvelous little function lls(), which shows all objects in the current workspace by mode, class and 'size'. This is a wonderful enhancement to the build-in ls() already and I now have it sourced in my Rprofile.site at startup. The only drawback is,
2007 Aug 21
1
small issue with densityplot
Hi folks, This is really minor but to someone not familiar with the various tentacles of the lmer package it could be really annoying. I was trying to plot the posterior density of the fixed effect parameters of a lmer model, > hr.mcmc = mcmcsamp(hr.lmer, n=50000) > densityplot(hr.mcmc, plot.points=F) There is this error, "Error in densityplot(hr.mcmc, plot.points = F) : no
2010 Mar 22
1
Add title to color spectrum legend in xyplot
Hi, I have a plot that is essentially the same as that in Figure 5.6 of "Lattice - Multivariate Data Visualization with R". The key difference is that I would like to add a title to top of the grey color spectrum legend, but have thus far been unsuccessful. I've tried a variety of options, but to no avail. I'm new to R, and admittedly I don't understand the
2006 Aug 10
2
day, month, year functions
Hi list, I'm trying to turn a date into something productive. (Not what you may be thinking....) I want three functions so I could take a "date" object and get the day of week, month, and year from it. xx <- as.Date("2006-01-05") month(xx) equal 1 day(xx) equal 5 year(xx) equal 2006 I'm aware of the weekdays() and months() functions in the base package. But
2010 Jul 29
1
Crash report: projection pursuit & predict
Folks, The projection pursuit regression function in the base R seems to crash when the optimization level is set to zero, i.e. the initial ridge terms are accepted without refitting. I encountered this problem in an out-of-sample prediction exercise using predict. But further investigation suggests the issue is with the ppr fit and predict just sppeds up the crash. The other optlevels seem to be
2007 Jun 12
1
Viewing a data object
Dear list, First apologize that this is trivial and just betrays my slothfulness at the keyboard. I'm sick of having to type a long name just to get a glimpse of something. For example, if my data frame is named 'AuroraStochasticRunsJune1.df" and I want to see what the middle looks like, I have to type AuroraStochasticRunsJune1.df[ 400:500, ] And often I'm not even sure rows
2010 Dec 23
2
problem installing R on ubuntu
Following the official instructions to install R on ubuntu 10.04, I issued this command on the prompt, sudo apt-get install r-base Here is the error msg, Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that
2005 Nov 28
4
What made us so popular Nov 16-20?
Our main US mirror is cran.mirrors.pair.com, AKA cran.us.r-project.org. Pair.com keeps statistics on traffic on the mirror sites, and I got all excited when I looked at this page: http://mirrors.pair.com/pair/stats.html and saw that CRAN was 5th most popular over the last month, getting more visitors than Apache, MySQL, OpenOffice, etc. Then I looked at this graph:
2007 Jun 24
2
matlab/gauss code in R
...Matrix package have written a method for log1p(); > if not, you'll probably have to do it yourself. > > Duncan Murdoch > > > > ------------------------------ > > Message: 31 > Date: Fri, 22 Jun 2007 11:44:52 -0700 > From: "Horace Tso" <Horace.Tso en pgn.com> > Subject: [R] Imputing missing values in time series > To: <r-help en stat.math.ethz.ch> > Message-ID: <467BB6340200006500006924 en pgn.com> > Content-Type: text/plain; charset=ISO-8859-15 > > Folks, > > This must be a rather common problem with real lif...
2010 Jun 08
2
type conversion with apply or not
Folks, i thought it should be straightforward but after a few hours poking around, I decided it's best to post my question on this list. I have a data frame consisting of a (large) number of date columns, which are read in from a csv file as character string. I want to convert them to Date type. Following is an example, where the first column is of integer type, while the rest are type
2002 Jul 11
0
rsync digest, Vol 1 #797 - 4 msgs
...vsSa+N4ZzCBKkRyVzaDNDUCQzc1ADRHph2BBCcFAfsRM6cSVksoREQSTy > UyZgchOPFxBM4VAwEXxLcRV34mG0d0N74jUiBihEVBdjcxUiojaCQjZCVDly40R541hDORq/kHUZ > kguOkUXiNziHAzhQ6Tef0Qx+I0bT4De4eBmWxBjaoZXVsVW7wjy7g0ZJ5T2pwzv/u/IbsKEutWId > CGBIXVYBEYBVAahlFaBVdlmAaDQZrhBJbKVUYKlZvIIe40KLHNUuCxNnnEQg10NLUXZ/1JEg/pGN > AUJ9sSRYzEJLsrSZxcIaukE5vbRkUpV0vQJEhlIXyHQzKSJBCVGD10Q0PNg/RwI/2TQSRmMR/PVM > 7tMxUWN6EqECS6ICc5IxoUc0BLQyRRIXMYEkxblQFjQxaFgyCwGGCYaESeOPKBE1LBFb7dN4IZmP > AKFPBmGEl/cjMwQVMtQkGXUQcUJRxbdDEhUnYNMcZTMY23gtqGQbLlYBI7ACJ7BYkwhFS3Q3cqM9 > lnGXSTkqUWkAGdKgpjINN4U4/2bHU3HUmachi7xUR7TyOXN0...
2002 Jul 11
0
Sorry about that-New way to run Rsync on OSX
...VzaDNDUCQzc1ADRHph2BBCcFAfsRM6cSVksoREQSTy > > UyZgchOPFxBM4VAwEXxLcRV34mG0d0N74jUiBihEVBdjcxUiojaCQjZCVDly40R541hDORq/kHUZ > > kguOkUXiNziHAzhQ6Tef0Qx+I0bT4De4eBmWxBjaoZXVsVW7wjy7g0ZJ5T2pwzv/u/IbsKEutWId > > CGBIXVYBEYBVAahlFaBVdlmAaDQZrhBJbKVUYKlZvIIe40KLHNUuCxNnnEQg10NLUXZ/1JEg/pGN > > AUJ9sSRYzEJLsrSZxcIaukE5vbRkUpV0vQJEhlIXyHQzKSJBCVGD10Q0PNg/RwI/2TQSRmMR/PVM > > 7tMxUWN6EqECS6ICc5IxoUc0BLQyRRIXMYEkxblQFjQxaFgyCwGGCYaESeOPKBE1LBFb7dN4IZmP > > AKFPBmGEl/cjMwQVMtQkGXUQcUJRxbdDEhUnYNMcZTMY23gtqGQbLlYBI7ACJ7BYkwhFS3Q3cqM9 > > lnGXSTkqUWkAGdKgpjINN4U4/2bH...
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...?E1R3{gF_QxquiR!=<0jo^{dX8bxA+lpU-c#B(|-O0%vgPr|=;of-4Tmv;e zV-;Az*^jurY0%>Uyn8(10H>Du>~(AV!dhwc5Z(M4PTU*Xsi77!<ea^CG$;B@e+!W? z3-N+iVIXK>iUQwz-?OmL0Vm(3=KU@KrONIXP0q_0>V?Py2ub5XmgQh}VPO$+M!3?j zMD{R&e;7g03haVk(1OYe7nJ=<g%<QeO(-rI$)>l)b%C6Og3cIuD$|J$ilnU2Z;LDE zulW0PGNSclVSUvd$aky(hRd3&a1%W_br!!_X8eXwqRIbsN<@qp>dtj+;kjT->VA?G ze2?=xr~}#5h*b7_$iaoS+{=}q;sw?)34m7<*Bu_QeZB;Z85>Uy3O>uUzoIeBzn|_s z!f{q}X>SRXR2Z8&csFZs@IaObqqO|-@@&!VzypX<5<`%JMg);k!SMPR#FKf&f#w^v zf?q?LzO`oLoLC2qw?mpbxb2Au=<%bC414~1v^CNHQsjueRBTAQloOSz>W...
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame. For instance > ddTable <- data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry")) I want a dataset that is Id Name 1 Paul 2 Bob > unique(ddTable) Will give me all 4 rows, and > unique(ddTable$Id) Will give me c(1,2), but not accompanied by the name column.
2011 Jan 22
0
how to call BayesX in R to see the graph
...E do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius, MD West Hartford, CT ------------------------------ Message: 73 Date: Fri, 21 Jan 2011 15:16:14 -0800 From: Horace Tso <Horace.Tso@pgn.com> To: r-help <r-help@r-project.org> Subject: [R] glitch in building R package Message-ID: <5C3F9922B1D5FB4886B2D2045AB952F3056E4D0C3F@IPEXMAIL.corp.dom> Content-Type: text/plain I follow Alan Lenarcic's very helpful tutorial on building R package for Windows (XP), whic...
2007 Aug 21
0
pvals.fnc unhappy about lmer objects
Dear folks (or Dear Professor Bates), I'm quite confused as to the current status of some of the available functions applicable to lmer objects. Following the examples in Baayen, Davidson, Bates (2006), my plan is to run mcmcsamp on a random effect model created by lmer in package lme4, then use the (perhaps outdated) pvals to estimate p-value. But then I couldn't find pvals anywhere.