Às 21:52 de 17/12/2024, Neotropical bat risk assessments escreveu:
Hi all,
Tnx for the varied suggestions. I tried the "cleaned up code" John
suggested with the same Mutate error message
No clue why an asterisk * was added to the message lines that were only
# comments.
Eons ago Hadley helped
Indeed.
When I try and recreate your problem I fail to find a problem.
But almost certainly the issue lies in the file, or the reading of said
file.
Currently the code is
fname <- "Buzz.txt"
All <- fname
That results in All containing "Buzz.txt" not the CONTENT of a file called
Buzz.txt.
As
Bruce,
You failed to post (some of) your data using dput() as was requested
by John Kane. The reason that this is important is that it would tell
us exactly what your data consist of -- i.e date-times, character,
factors, etc. -- which your use of cut and paste does not.
So if for some reason you
Hi all,
Tnx for the varied suggestions. I tried the "cleaned up code" John
suggested with the same Mutate error message
No clue why an asterisk * was added to the message lines that were only
# comments.
Eons ago Hadley helped with the code with early versions of the original
GGPLOT and it has
I did a quick clean-up and deleted a couple of , I hope, library calls and
I think the OP's code should look like this
==
# Load packages & set ggplot theme
library(tidyverse)
theme_set(theme_bw())
# Select dataset
Posting Error. OP sent HTML email which by default includes a backup text
version with "helpful" marks where formatting was in the original, and the
mailing list deleted the HTML (per policy stated in the posting guide linked at
the bottom of every email) which effectively leaves the mailing li
Am I being "thick" here
..
mutate(data, *# text
Is interpretated as mutate (data, *
The star is the character...
(Data is the line above being piped)
Why have the comments been *'d?. Is that the source error or a posting
error here?
On Tue, 17 Dec 2024, 14:57 Ivan Krylov via R-help,
wrote:
I think we need to see some sample data. As it stands, as Ivan says "All"
in just a character string.
A handy way to supply data is to use the dput() function. Do dput(mydata)
where "mydata" is the name of your dataset. For really large datasets
probably dput(head(mydata, 100)) will do.
Just paste
В Tue, 17 Dec 2024 06:44:50 -0700
Neotropical bat risk assessments пишет:
> fname <- "Buzz.txt"
> All<- fname
I think the code needs a call to read.table() or another function to
read your data here. 'All' is still a string containing the name of the
file, not its contents.
> All %>%
> mutate
Hi all,
It has been a year or so since I have run this code to plot temporal
activity.
It was working now I am getting an error related to MUTATE.
Error in UseMethod("mutate") :
no applicable method for 'mutate' applied to an object of class
"character"
Any help/suggestions welcomed.
Tnx to
Hi all,
It has been a year or so since I have run this code to plot temporal
activity.
It was working now I am getting an error related to MUTATE.
Error in UseMethod("mutate") :
no applicable method for 'mutate' applied to an object of class
"character"
Any help/suggestions welcomed.
Tnx to
11 matches
Mail list logo