Have you tried putting the a,b, and c column names you are passing in quotes
i.e. as strings? Currently your function is expecting separate objects with
those names.
The select function itself can accept unquoted column names, as can others in
R, because specific processing they do in the backg
On Sat, 15 May 2021 00:55:08 + (UTC)
Kai Yang wrote:
> Hi Rolf,
> I am a beginner for R.
Then I suggest that you spend some time learning basic R syntax, with
the help of some of the excellent online tutorials. "An Introduction
to R" from https://cran.r-project.org/manuals.html would be a g
Hi Rolf,
I am a beginner for R.
I have a date frame raw. it contents the fields of pedigree.name, UPN,
Test.Result.tr_Test.Result1, Result.tr_gene1,
Test.Result.tr_Variant..nucleotide.1 .. Test.Result.tr_Test.Result20,
Result.tr_gene20, Test.Result.tr_Variant..nucleotide.20
Basically, I wa
On Fri, 14 May 2021 17:42:12 + (UTC)
Kai Yang via R-help wrote:
> Hello List, I was trying to write a function. But I got a error
> message. Can someone help me how to fix it? Many thanks,Kai
> > k_subset <- function(p, a, b, c){
> + p <- select(raw
> + ,Pedigree.name
> +
On Fri, 14 May 2021 17:20:20 +0800
Steven Yen wrote:
> Thanks to all, for bearing with me.
>
> Now I realize expss may not be what I need. I have now written a
> self-runnable, replicable set of codes (listed below). Perhaps that
> gives an idea of what I need. Question is, whethet this is the
Hello List, I was trying to write a function. But I got a error message. Can
someone help me how to fix it?
Many thanks,Kai
> k_subset <- function(p, a, b, c){
+ p <- select(raw
+ ,Pedigree.name
+ ,UPN
+ ,a
+ ,b
+ ,c
+
You might also look into packages `Hmisc` and `labelVector` that provide
some support for labeling variable names.
David C
On Fri, May 14, 2021 at 1:59 AM PIKAL Petr wrote:
> Hallo Steven
>
> You probably need to be more specific what is your intention. I still
> wonder what is the real proble
On Fri, May 14, 2021 at 4:19 PM Steven Yen wrote:
>
> Never mind what I said about "Clickable". All I meant was I created an
> item "definitions" that appears after I load the binary file, and that I
> can "click" (don's ask me what I mean by "click") the item in RStudio to
> read its contents --
Well, that is the point.
I do not use RStudio and dont know what it can or cannot do. So the save/load
is probably everything you need if somebody with better knowledge of Rstudio
does not come with better suggestion.
Cheers
Petr
> -Original Message-
> From: Steven Yen
> Sent: Friday
Never mind what I said about "Clickable". All I meant was I created an
item "definitions" that appears after I load the binary file, and that I
can "click" (don's ask me what I mean by "click") the item in RStudio to
read its contents -- variable definitions.
All I want to know at this pointis
Hm. What do you mean by "clickable".
#I can save any objects to a file
save(mydata,definitions, file="test.R")
rm("mydata", "definitions")
#load them back
load("test.R")
#but it does not make them "clickable". Point and click is something I am
familiar with in Excel or similar programs byt not
Thanks to all, for bearing with me.
Now I realize expss may not be what I need. I have now written a
self-runnable, replicable set of codes (listed below). Perhaps that
gives an idea of what I need. Question is, whethet this is the right way
to do this (to have a clickable object to learn abou
Hi Steven,
I just happened to scan Petr's message to you and wondered if you were
looking for something related to the "describe" function in the
prettyR package (and a few others). For instance, if you do this:
library(prettyR)
describe(mtcars)
you get this:
Description of mtcars
Numeric
13 matches
Mail list logo