I want to convert the string "mean" to function "mean"
Depending on your needs, have a look at ?do.call or ?call, the latter is giving an unevaluated call
What also works is to "get" the function by its name:
x = "mean"
get(x)(1:5)
# 3
Thank you very much for the answers!
The get() was the solution of my problem!!
Best Regards
ICh
-
10 November 2014 8,877 0 View
Hi, I have a question about normalizing the MTT OD values for doing the statistical analysis. So, if we have 3 different plates and we call them 3 different replicates, so, first we would...
07 August 2024 8,106 4 View
Are there any statistical methods to justify your sampling technique using SPSS or AMOS?
05 August 2024 9,153 4 View
Hi everyone, If you have written or come across any papers where Generalised Linear Mixed Models are used to examine intervention (e.g., in mental health) efficacy, could you please share the...
04 August 2024 4,130 4 View
Just bounced on me. Before statistically analysing significant difference, shouldn't we see if data fits normal distribution first? Is 3 replicates enough to testify the hypothesis of normal...
31 July 2024 8,141 13 View
Does anyone know of a module for the JAMOVI software that is capable of generating mean separations using the classic letters based on post hoc results (e.g., Tukey test)? If, as I believe, such...
31 July 2024 3,333 4 View
N=6 Comparing pre and post test likert scale responses. Participants are mix of practicing & preservice teachers.
30 July 2024 7,233 4 View
all math can be traversed by code? all math can be translate to code?
26 July 2024 9,530 0 View
Good morning, I would like to conduct a factor analysis for my work at the municipal level on a panel datae with variables such as income per capita, unmployement rate, percentage employed in a...
25 July 2024 5,104 4 View
I am currently working on a mendelian randomization study, and I have downloaded the datasets needed from the ieu opengwas project (mrcieu.ac.uk) in .vcf format. I do not have access to an R...
19 July 2024 2,342 5 View
Hello everyone, I am currently working on a project where I aim to analyze color preferences in data visualizations across participants from three different countries. The dependent variable in...
19 July 2024 4,178 2 View