alperyilmaz / dav-assignments Goto Github PK
View Code? Open in Web Editor NEWAssignment contents for Data Analysis and Visualization course
Assignment contents for Data Analysis and Visualization course
Aggregate function kısmında aşağıdaki kodu yazdığım zaman ;
temp1 <- filter(hflights, !is.na(ArrDelay))
summarise(temp1, earliest = min(ArrDelay), average = mean(ArrDelay), latest = max(ArrDelay), sd = sd(ArrDelay))
temp2 <- filter(hflights, !is.na(TaxiIn), !is.na(TaxiOut))
temp2 <- mutate(temp2, taxi_diff = abs(TaxiIn - TaxiOut))
summarise(temp2, max_taxi_diff = max(taxi_diff))
üçüncü kısım ile ilgili şu hatayı alıyorum ;
Incorrect submission
There is something wrong with your code to calculate temp2. Use both !is.na(TaxiIn) and !is.na(TaxiOut) inside filter().
fakat hata nın bu olduğu düşünmüyorum. ipucu aldığım zaman ise ;
Hint
You'll need !is.na() inside filter() to remove observations that have NA variables.
For temp2, you need !is.na() twice in combination with & (or with commas inside filter()).
zaten yaptığımdan farklı bir şey söylemiyor.
sorunun doğru cevabı ise aşağıdaki gibiymiş;
temp1 <- filter(hflights, !is.na(ArrDelay))
summarise(temp1,
earliest = min(ArrDelay),
average = mean(ArrDelay),
latest = max(ArrDelay),
sd = sd(ArrDelay))
temp2 <- filter(hflights, !is.na(TaxiIn), !is.na(TaxiOut))
summarise(temp2, max_taxi_diff = max(abs(TaxiIn - TaxiOut)))
doğru cevabı incelediğim zaman ise verilen hata nın (# Keep rows that have no NA TaxiIn and no NA TaxiOut: temp2 ) ile ilgili değil son kısım (Print the maximum taxiing difference of temp2 with summarise()) ile ilgili olduğunu görüyorum. Fakat bu şekilde bile benim yazdığım kodun sonucu (141) ile doğru cevabın sonucu da aynı çıkıyor. Acaba datacamp tan kaynaklanan bir problem mi mevcut yoksa ben mi durumu yanlış anladım ?
Teşekkürler
yukarıdaki kodların ekran alıntıları ;
please do not edit the link above and describe the problem you're having. pasting the code that is not working would be helpful. if you're getting an error message please also paste it here.
I don't think it arises from my bad internet connection or due to prolonged waiting on the same page. Because I passed this exercise, did others and came back to this one and it still gives the same error message. It is in this way for 2 days.
So, can you help me to figure out what's happening? What should I do at this point?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.