Giter Club home page Giter Club logo

lextale's Introduction

Hi there 👋

I'm Gzyl, a short for Ghozayel. I've a strong passion for using R for data-analysis, R-packages and beyond!

  • 🌱 I'm the author and maintainer of my 1st R-Package 'Lextale', details can be accessed in my repo.
  • 🔭 I'm a quantitative linguist interested in psycholinguitics, corpus linguistics, language aquisition, cross-linguistic studies & input-modality.
  • 🔭 Before I started my PhD in University of Nottingham, I worked as a lecturer in Jubail Industrial College and other institutions in Saudi.
  • ⚡I've some experience of using PsychoPy, Pavlovia and GitLab for running studies online.
  • 💬 Ask me about resources about statistics for linguists using R, running studies using PsychoPy, and creating R packages from scratch 😄.
  • 📫 How to reach me: @gzl_atb

lextale's People

Contributors

batoolmm avatar ghozayel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

lextale's Issues

Error: could not find function "lextale"

@BatoolMM
Although I had tested the package and function yesterday and it passed, now when I tried using the function as

lextale(sample(c(0, 1), replace = TRUE, 600))

followed by installing the package (explained in the read.me file). it shows me this error msg:

Error in lextale(sample(c(0, 1), replace = TRUE, 600)) : in lextale(sample(c(0, @1), replace = TRUE, 600)) : could not find function "lextale"

Can you please take a look at R codes for the function. Do I need to use the function source() in any stage because I didn't.

lex() argument length, and inserting 'if' in function codes

Hi @BatoolMM

  • The length lex() function currently taking is 2400 observation/rows. I have tested this before, it was working well with less than 2400 as well as up to 2400, which was fair enough for me. However, when I ran lex() function yesterday, it returned an error when less than 2400 obs were used, meaning that the length must be 2400 rows, not less!
    Q: Is there a way to make it flexible, any 60 multiples مضاعفات ٦٠?

For the testing-data, the following codes generate fake-data (also available in the Lextale readme file, under examples):

answer <- sample(c(0/1), replace = TRUE, 2400) #generate 2400 random binary responses
ID <- gl(40, 60) #generate 40 ids
test-data <- cbind(ID, answer) #combine the two columns above into one data
as.data.frame(test-data)

  • lex() function codes, I need to include 'if statements', i.e. if users used yes/no instead of binary data (0/1), the function should convert yes to 1 and no to 0. For now the function lex() only takes binary 0/1.
  • Additionally, but not necessary, I'd like to ensure that ID and answer lengths be equal, e.g. if there are 60 observations under ID there should be 60 observations under answer, and if not, a warning message should tell the user something in line with ' ID and answer lengths must be equal' or 'make sure there are no NAs in your data'

?Lextale is not working

No documentation for ‘lextale’ in specified packages and libraries:

you could try ‘??lextale’

I ran this before and found the documentation, but now it shows the above msg, besides the warning massages below:

Warning messages:
1: In withCallingHandlers(.External2(C_parseRd, tcon, srcfile, "UTF-8", :
C:/Users/gmo66/OneDrive/Desktop/R/GitHub/Lextale/man/Lextale-package.Rd:8: unexpected section header '\description'
2: In withCallingHandlers(.External2(C_parseRd, tcon, srcfile, "UTF-8", :
C:/Users/gmo66/OneDrive/Desktop/R/GitHub/Lextale/man/Lextale-package.Rd:11: unexpected section header '\seealso'
3: In withCallingHandlers(.External2(C_parseRd, tcon, srcfile, "UTF-8", :
C:/Users/gmo66/OneDrive/Desktop/R/GitHub/Lextale/man/Lextale-package.Rd:19: unexpected section header '\keyword'
4: In withCallingHandlers(.External2(C_parseRd, tcon, srcfile, "UTF-8", :
C:/Users/gmo66/OneDrive/Desktop/R/GitHub/Lextale/man/Lextale-package.Rd:20: unexpected END_OF_INPUT '

I cannot edit the file in man and the file in the R codes is already got all the required info. Do I need to insert a Roxygen skeleton in the description file? I only did it in the function r codes.

MAN folder missing one .rd file

@BatoolMM @popovs
Although a roxygen skeleton had been inserted into the function codes, I have only one rd. file is in the man directory! Do you have any idea whit might be reason(s) behind that? I'd appreciate if you can help :)

Thank you in advance
Gzyl

input must be numeric!

@BatoolMM I've edited my function codes. argument should take a tibble/dataframe instead of one variable. I edited the testthat folder, but still get the error 'Input must be numeric'. I'm not sure how to get this solved! Please let me know if you know any possible solution.

Logo

Hi Ghozayel,

I'm very impressed by the package, it looks amazing! You asked me previously about how to develop a logo!

@Fgazzelloni mentioned this Golem app: https://connect.thinkr.fr/hexmake/ by Colin Fey in R-Ladies Slack!

I'd recommend you write a small blog post about it to help in promoting it and we can add it to RWeekly. Maybe you can use Medium if you don't have your own blog.

Let me know if it helps!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.