Dear All,
Recently, I found that the SOS package (very helpful package) does not
work. When I used the "findFn" function to search something, it always
said "found 0 matches" (see below). My desktop system is Win 10 and R
version is R-4.1.0. Any suggestion was greatly appreciated.
HP
> z <- fi
Can you implement it using my provided example? I read the user guide
about dev.copy2pdf
but I still failed.
Thanks
2013/1/30 ilai
> ?dev.copy2pdf
>
> On Tue, Jan 29, 2013 at 1:48 PM, hp wan wrote:
>
>> Dear R mailing listers,
>>
>>
>> After plotting, I
uot; when they mean "want to".
> The use of "wanna" is unacceptable in written English unless you
> are *trying* to be funny, and I don't think you are.
>
> cheers,
>
> Rolf Turner
>
>
> On 01/30/2013 09:48 AM, hp wan wrote:
>
>>
Dear R mailing listers,
After plotting, I wanna save it as file in pdf format using pdf("name.pdf")
command. It failed, but I can do it by GUI operation (file-save as-pdf).
e.g.
x11()
hist(x, breaks = 50, probability = FALSE)
pdf("hist.pdf")
[[alternative HTML version deleted]]
__
Thanks a lot!
2013/1/27 David Winsemius
>
> On Jan 26, 2013, at 6:26 PM, hp wan wrote:
>
> Hi all mailing listers,
>>
>> My question is as follows:
>>
>> e.g.
>> I launched two packages, say packageA and packageB, but they have the
>> function
Hi all mailing listers,
My question is as follows:
e.g.
I launched two packages, say packageA and packageB, but they have the
function of the same name, leading to masking. I want to remove the
packageA from the working window after using the packageA so as not to
causing problem. I do not want t
Thanks so much. It greatly enrich my mind.
2013/1/25 arun
>
>
> Hi,
> x<-1:80
> y<- x[-(1:77)]
> y
>
> #[1] 78 79 80
> #or
>
> ?tail() #already suggested
>
> If you want only the last element,,
> library(pastecs)
> last(x)
> #[1] 80
> A
2013/1/25 Nordlund, Dan (DSHS/RDA)
>
> > -Original Message-
> > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> > project.org] On Behalf Of hp wan
> > Sent: Thursday, January 24, 2013 4:23 PM
> > To: r-help@r-project.org
> > Subject: [R] How
Hi all mailing listers,
I wanna get the last several elments of vector.
e.g. x <- c(1,2,3,.,78, 79, 80)
How can I implement to assign last three elements to y, y <- c(78, 79, 80)
?
In Matlab, It can easily achieve by y=x(end-2:end)
Thanks
Huaping Wan
[[alternative HTML version
elements in
B^{-1}.
Thanks
Huaping Wan
2013/1/25 hp wan
> Hi mailing listers,
>
> Is there certain function in R deal with how to compute generalized
> eigenvalues, that is the problem: A*x* = ëB*x *? When I use
> eigen(B^{1}*A), error happened. It displays there are many Inf ele
Hi mailing listers,
Is there certain function in R deal with how to compute generalized
eigenvalues, that is the problem: A*x* = ëB*x *? When I use eigen(B^{1}*A),
error happened. It displays there are many Inf elements in B^{1}.
Thanks
Huaping Wan
[[alternative HTML version deleted]]
I am sorry for my careless. I forgot implementing the last code
corresponding to setting y-axis. Thanks Mark Leeds and all guys.
2013/1/22 hp wan
> Thanks. This time the x-axis works well but the y-axis is missing.
>
> 2013/1/22 Mark Leeds
>
>> Hi Hp: I decided to use axis
e strings "-1.55",
>> "-1.50" etc then you
>> can use the names.arg argument for that. You can create a vector of
>> character strings
>>
>> binstrings = c("-1.55","-1.50", )
>>
>> or just convert your data to strings u
.15,0.20,0.25,0.30,0.35,0.40,
> 0.45,0.50,0.55)
>
>
> counts=c(287,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,212,2624,2918,0,0,0,75,36317,4963,0,0,2462,0,0,0,0,0,142)
>
> percentage=counts/sum(counts)
> barplot(percentage,xlab="breaks",xlim=c(1,42))
>
>
>
> On Mon, Jan 21, 2013 at 7:47 PM, hp wan wrote:
>
>&
tely initially.
>
>
>
> On Mon, Jan 21, 2013 at 7:36 PM, hp wan wrote:
>
>> Thanks for your reply!
>>
>>
>> breaks=c(-1.55,-1.50,-1.45,-1.40,-1.35,-1.30,-1.25,-1.20,-1.15,-1.10,-1.05,-1.00,-0.95,-0.90,-0.85,-0.80,-0.75,-0.70,-
Hi All,
When carrying out hist(samples,breaks=50,probability=TRUE), the column
values are considerably greater than 1, which seams very unreasonable. The
plot is attached.
I think the column value of the hist plot should correspond to
x$counts/sum(x$counts)
(x=hist(samples,breaks=50,probabilit
16 matches
Mail list logo