FAQ: Homework Policy

Can I ask questions from a course I am taking here?

General questions are always welcome! :smile:

Please do ask general questions about things like:

Specific questions can be OK, if you follow these rules:

  1. Never copy-paste instructions from an assignment (even for online courses).
  2. Explicitly mention the course you are taking and use the #homework tag.
  3. Ask your question as a reproducible example (reprex), preferably prepared for posting using the reprex package.

Want to maximize your chances of getting the help you need? Keep reading! :nerd_face:

Is this a good place to ask questions from homework or a problem set?

This site hosts discussions among people working with R and its many add-on packages, including the Tidyverse package collection, and for people working with RStudio software products. It may not be the best place to get help with your specific problem.

This shouldn't be the first place you ask your question

If you have a question about your homework, we encourage you to first contact your course instructor or teaching assistants directly. After all, that is what they are there for :smile:. Your questions also serve as feedback to help them improve how they teach the course.

Even if your instructor has mentioned this site as a place to seek help, please don't post here before first asking for help within your course. (In the unlikely event your instructor has told you to come here first, feel free to point them to this FAQ!).

Posting all or part of your assignment word-for-word is not allowed here

Copying and pasting text from your assignment may undercut your instructor’s course materials, and it violates most schools' academic integrity policies. This rule still applies even if what you're working on comes from a MOOC or an online learning platform. Many people here are happy to help you solve problems and learn to become a better data scientist, but we do not want to offer a repository of copy-paste solutions.

What's the best way to ask a specific homework-related question?

Following these steps will make it much more likely that you'll get helpful answers! :grin:

  1. Tag your question as #homework and say that you are working on an assignment

    Course assignments often have artificial constraints. It's frustrating for you and for your helpers if they take the time to offer help you can't use because it doesn't fit with your course requirements.

    Helpers often prefer to answer questions in a different manner if they know you are a student. They may explain things in more detail or be more willing to walk you through finding the solution yourself.

    If you don't say up front that you are working on an assignment, experienced helpers usually figure it out anyway :face_with_monocle:. People may not want to keep helping if your actions seem deceptive.

  2. Narrow down your problem to the specific reproducible issue you’re stuck on.

    Identifying the specific step in your work that is causing you trouble will probably take quite a bit of effort! :sweat_smile:

    If you can't figure out how to ask a "homework inspired" question without copying and pasting the actual text of your assignment, then you probably need to do some more work to narrow down where you're stuck. This is a good time to ask for help from classmates, teaching assistants, or your instructor.

  3. Read our tips for asking code-related questions, and follow them!

    Do your absolute best to learn how to post well-formatted, self-contained code (the link above has lots of resources to show you how :grinning:). You don't have to do everything perfectly, but helpers are much more likely to want to help if they can see that you have made an honest effort.

:memo: Version 1.0.0

Got something to ask? Or add?

FAQ posts are closed to replies. If you have any questions or suggestions, please visit the corresponding discussion thread: FAQ Discussion: Homework Policy

FAQ Discussion: Homework Policy
Coding to compare 3 variables
DataFrame in R programming
Hypothesis Testing in R
American Roulette standard error calculation
Having Issues plotting standard normal distribution z
exercise question
getting error wile trying to satisfy both the conditions
any r tutors available here? I need someone to look at my code
Linear Mixed Model
Relevel function in R for GLM
Code for analyzing dependent variable over time at certain threshold of independent variable
Forecasting data of export Wh-with irregularly spaced time series
Warning message: In dist(Data) : NAs introduced by coercion
Edx course problem - creating new column, applying function
lapply function
Error in keras_model_sequential() : file name conversion problem -- name too long?
Student, looking for help with rStudio and the acs package.
K-mean clustering
How to updating within sapply (to avoid for loop)
train, trainControl function not working.
What is the difference of occurrence and density for different types with in 4 different populations
How to compare a forecast model to actual data and what is uncertainty?
Generating Data by using rnorm function with a condition
Regression model to predict student's grade in R
How to creat a function to use RLS to train a linear kernel on a dataset
Plotting partial sums and fourier series
Community Sustainer (Moderator) Guide
Assignment Explanation Help needed. Worried sick.
Polynomials package
need help at Plot the distribution of each variable on the same graph.
Need help with R - trying to subset a dataset
Beginner Level Linear Regression Question
Beginner question with running a t-test
Looping for infinitely decreasing input
How can I reduce the values in a column by a certain percentage (5%, 10%, 15%, etc.)
Implementation of Decision Tree in R
Categorical data
How to make a code for this ?
add group-level abline to plot
Looking for some help on a school Assignment
Complicated Data
Creation of a new object
How can I adjust my heatmap so that it only shows the upper part?
if else question for homework question
Completely new to R_second try to upload a topic
Difference in differences in R
Conditional statements (else, if) in R
Ggplots are not displayed after knitring to html/word/etc.
Please delete post
Project at University: how to transform this raw data into something I can work with?
Predictor and Response variables
Putting together a shiny app
Recursion, environment
New Student to R Questions
Recoding question (New to RStudio)
Compare two means
Jury problem (birthday paradox twist)
Calculating % of a column with binary values
Probability - Monte Carlo Simulation
binomial test and chi-square goodness of fit test
Plot a histogram of yearly counts Strptime()
Creating a new variable
Need help with making a function
How to calculate par value of a bond
The data set contains Number of Subjects chosen by 25 students. Construct the bar graph of this data set. Highlight, Gender in different color. ( data file to be used – India_bar)
R standard normal distribution problem
How to apply one_hot manually
How to save every answers in matrix with 2 for loops.
How to calculate Type1error and type 2 error
Loops for Beginner
I can't get any html output after kintting
Anomoly detection
Rstudio beginner learner - Need help with question
How to merge two datasets together when one set has multiple instances of something I want to merge
cdata to summarise confidence intervals?
Gather some stocks, and reset them from $100, and compare them from 2009-2019.
Help, i am new to R
Relationship between events and invoices
Optimization - hill climbing - designing functions (travelling salesman problem with truck load)
Why am I getting Error in ms[i, ] : subscript out of bounds ?
Zero Conditional mean
phtest error: Error in solve.default(dvcov)
Having trouble finding was test to run for significance
Help with Homework
Density Plot from Data Frame
Analysis of binary variable
I need help in Vector and Factor parts
How to use ggplot with only X variables
Help with correlogram question for a project PLEASE!!
Probability and R
How to make a iris data as ggplot graph? help me to make that
Function with Rules
want to get a gapminder_unfiltered solution.
Aggregate command
baseball questions
Help on sorting phone nymber
partition a set of elements into subsets in such a way that the subsets are as similar as possible
lines() function when plotting trajectories
Adding a column to a data frame
Adding a column to a data frame
Graphic Pie Problem
Minimum Squared Estimator
Multiple values for one column
Unsure of what test to use next
Can single input of neural net consist of multiple data?
Need help for RStudio to write a work in university
HELP!! Regression Discontinuity Design Question
Adding a line on histogram
Can someone check my assignment please?
Object Not Found? Newbie
How to convert binary values to factors ?
Invariance measure between two groups
Need help with packages quanteda and tidyverse!
R related question
Counting occurrence on a single column
Probability for a weighted coin flip
Imputation to normalize variable got error of missing values
Heatmap Interpretation
Query related to strsplit function
function(x) { ifelse(abs(x) <= 1, 0, sign(x) * log10(abs(x))) }
Help with a small project
How to calculate McLoone Index?
How to use capture() in rebus package?
Integer values are between the maximum and minimum heights
geom_line ggplot
How to get a histogram
Subset issue help
Data Visualization Suggestions?
Subset Error Help
verification of adherence of the model to the statistical premises of the least squares method through diagnostic graphs'
Error in eval(predvars, data, env) : object 'charges' not found
Bayesian Statistics in R using JAGS
Issues plotting in R
Issues plotting in R
Help to use R and my lab
R Excercise Problem - I could NOT solve. Can anyone help?
how to generate the dummy variable for this variable?
Assignment help (Undergraduate ST366 Statistical computing with R course)
Assignment help (Undergraduate ST366 Statistical computing with R course)
panel plots not working
Plotting bar graph for average rating of all movies in their respective genres? (ggplot - data-wrangling)
Could you explain how the answer came about?
New to Rstudio need help understanding loops and useing %%
N/A this question has been removed
Centring and Equally Spacing Jitter Points in a ggplot/violin plot
Can any body help me with these questions using R studios? Thank u very very much
How to use 'for' -loops to send API requests
Finding the total amount of entries with the same value
CART classification for imbalanced datasets with R
Providing estimates and estimating difference btwn those probabilities
group_by function- dplyr
Analyze one variable based on two others
Variable true or false
I need help with the Linear Probabiliy model
Creating a plot with 3 variables
Need help Creating a New Variable
I tried finding random number but failed to get 3 random integers which can be divisible by 5.
Student having issues with p-value and t-value for relationship between two variables
University simple research assignment issues /noobie to Rstudio
how do i remove the error?
Create a function
R Code for Normal Distribution formula
Error in UseMethod("mutate_") : no applicable method for 'mutate_' applied to an object of class "function"
creating and adding a new variable into a data frame by using an if statement
Unable to open Project in studio
Difficulty in organizing a plot
CSV file from excel
Cannot load "car" package on Latest Rstudio and R
Naives Bayes and decision tree model, need help!
Data not saving
Feature\variable selection using RStudio
Regression for data frame
How to create two indicator variables using two specific observations in a dataset in RStudio
Student Issue with Loading Projects
How to automate reports, web scrape data using Rstudio
numerical data required
Somebody can help me? using monte carlo
Minimzing a function by lm in R
Unexpected symbol error in stats class homework
Desperate need of help
Help me to solve, please
How to conduct a Z-test
R studio homework help!
create a matrix using nested for loop
Using quantiles in R
Lazy evaluation
Calculating Z-scores using Data Subsets by Row
simple doubts in R
[Barplotting] assigning a specific colors to specific names
homewokk problem help
Task solution needed
detecting multicollinearity
Function sqrt () using a while loop.
Homework help in R studio needed
Companion to R analysis second addition
How to write a simple function ?
Assigning Employees Tasks
Summarize diffrent simple regression in a table
Model Performance measure
R query question
Help with my assignment
Enviromental Project of Data analysis
Ayuda con el metodo Montecarlo modificado
New in the Rstudio
Trimmed mean in a specific column?
Learning R. Frustrated and need help.
function problem in R
In mean.default(X, ...) : argument is not numeric or logical: returning NA
converting columns of data frame to factor
mathematics purrr package map_dbl unroot
How to group vector values
help,ayuda mtcars
Combining sapply() with group_by()
selection from loop
RStudio Community - Find Help - Guide
R assignment, not yielding results
failed to open data
I have no idea what I'm doing and keep getting error codes.
Help needed wtih these codes!
Syntax doubt in probability random #
How to estimate a parameter in R- sample with replace
How to do simulation to verify Randomly draw balls into boxes problem?
it my coding right?
Excercise of Rstudio
Please help my school assignment. Can't subset columns that don't exist.
histogram help please
Importing to RStudio
Density Plot
How to identify right number of customer segments
nevermind i dont need help anymore
converting to numeric
Sapply/ Lapply Homework
help with Data analysis and management
implement Big M method in r language without using any package. Runnable codes required. Input will be entered by user.
Calculating the variance of an random variable
Create and histogram for transcripts per gene
Group Over Multiple Rows and Columns
New data added to existing data frame
Creating Cross-Correlation
Creating Cross-Correlation
How should I use lm() function in this condition
When I add something to mydataframe it changes from num. to char. ...
Issue with Making a Graph
Flow Control and Loops
help for my semester paper
Hello, I need some help on starting this assignment, I don't know how to do the anova test for question one and whether it should be one or two way.
data frame entries display only <dbl [1]> instead of values
Pnorm help with a question
I have an error in my data set.
How do you run code in between comments? I am a beginner at R?
Simple: New to R, seek some advice
Errors knitting markdown files object not found
How do I present this data
Changing names of variables with the function mutate() in dplyr
Probability Density Function on histogram - base R.
Multilevel model using lme4
Describe this function
Help in R studio task
transition matrix in R
Probability in Rstudio: tossing coins!
Help creating a basic function
Time series regression fitted model
A undergraduate problem
How can i make a good Boxplot, Scatterplot, Barchart with this data?
Markdown - Homework
A suffering student adding a discrete value to a continuous scale.
How create a function to resolve binomial to n-power?
Newton Raphson Methode
asking about some code in rstudio
I need help in solving a college homework
removing stopwords
Model that predicts Statcast Strikes
Path Analysis model help
University Boxplot Assignment
Construct histogram
Multiple Regression Uni
I need to find out on which day are the most children born (Mosaic package)
How to compute greeks for option pricing in Montecarlo Simulation
Multinomial Logistic Regression- finding the probability of my response variable happening
help with home work
Help with R Studio Class
Read.csv function and setting 'stringsasfactors'
New to shiny- need help autoplotting stocks
Splitting data into training and test data
filtering vector of dates by year
Error in FUN(X[[i]], ...) : object 'Species' not found
How to estimate the probability of a certain number of students with cohorts using R?
help me create an R code,
trouble uploading the hotel_bookings.csv project folder
How do I change class instead of mode for your data frame?
Write an R function compare(n,p,k) that computes (exactly) P(X =k) P(Y= k), where Y~Pois(np).
If else statements
Having issue while running code on dataframe
Statistics and Probability r question
Help with assignment
Help with creating Functions/Loops/Condition
need some help with an assignment
Multiple linear regression analysis
Need help with correlation coeffecient
Help for a project
What tests can I use on this data
Help for an R studio
i need help with an assesment
How to compare several variables in the same column
Does x contribute to y, independent of z?
Best books on R
Im so confused about how to work with this data for the following questions
Someone could help me?
need help for a project in r, for Financial
Error When Using Predict()
Help me figure out with the following questions with the help csv file below attached
Bar Graph comparing two variables with various levels
not able to regress a linear regression model, don't know what to put for data
Understanding purrr::map function
urgent please help
Load Excel file into RMarkdown
Appropriate Test Statistic
Matrices x Vector multiplication using R script
Using for loop to plot data
I was unable to get help at school or with tech support for this code
Pascal triangle
Coin flip simulation
How to know the type of variable given that there's two variables?
I need a script to perform a regression in R
Code for probability division and simulation
Calculate Anomaly in Temperature
Help on a Question
Question about modifying a function
Use ggplot() to visually display a scatter (i.e. point) plot of variables
Automatic scale with ggplot
blinreg function in R