blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
090d010ac8cb50459341ec672f3583ef7612dc67 | 612ad2e7bd9b6f3352651d9fc7124afcb31a8dd8 | /R/remix_PI.R | 7bf2c5285081c0bf79a78c7f3b67b145720c167e | [] | no_license | cbrown5/remixsiar | 4dd684e3041a57b6e78baa0aeeea5921171dfea4 | f3c5c060bd43567816ae1c973c6aa7a047cad129 | refs/heads/master | 2020-05-29T08:47:46.546346 | 2020-04-25T13:17:38 | 2020-04-25T13:17:38 | 70,018,787 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,776 | r | remix_PI.R | #' Estimate predictive intervals for consumer isotope ratios
#'
#' Plotting the consumer's isotope values against those predicted by the model
#' can be useful to detect model bias, or instance when consumers fall outside
#' the source polygon. This function also returns residuals for the consumers
#' as their deviatio... |
45b9c8e1241310cf7966a5ce768db1d40c506b0e | f98a371ab8be01dabaa44f73164ed28fee24e8f3 | /R/dhs_tags.R | bf953ea1d13dc94812b302397dede6f6e1abf869 | [] | no_license | muschellij2/dhs | 9850fde5624f244389bcf9da758dfaa8b9e18652 | 1ce747280f7f7304649b72dbf65b497e324a9833 | refs/heads/master | 2020-05-21T05:30:18.409993 | 2017-10-09T23:13:36 | 2017-10-09T23:13:36 | 84,578,817 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 363 | r | dhs_tags.R | #' @title Return DHS Tags
#' @description Returns the set of tags from DHS from their website
#'
#' @return A \code{data.frame} of the listing of tags
#' @export
#'
#' @examples
#' head(dhs_tags())
dhs_tags = function(){
fieldurl = paste0(
dhs::rest_dhs_url,
"tags")
res = get_dhs_data(url = fieldurl)
res ... |
ddfe97b657f35b5bcc73d86a9ca6aba4e185ce5c | ca7a4f8bb6896fdfc6cb3ded207308e88cb15707 | /phastCons/scripts/2_conservation/conservation_sarcopterygii.R | a7ceba7518f77233edf5d24588e03e9ea1f556d3 | [] | no_license | paulati/acc_regions | 9a0d3b11bfe5b7653b6d9fe148ad976a1fd72ad8 | 07fca8d32da44238de8e9946da23d41a28eaea13 | refs/heads/master | 2020-03-27T01:30:57.172243 | 2018-08-22T17:15:39 | 2018-08-22T17:15:39 | 145,718,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,162 | r | conservation_sarcopterygii.R | source("~/2018/phastCons/scripts/config/paths_config_modneuPhastCons100way.R")
source("~/2018/phastCons/scripts/2_conservation/conservation_base.R")
load.alignment <- function(chr.id) {
file.name.tail <- "_sarcopterygii.maf"
remote.base.folder.path <- remote.sarcopterygii.align.base.folder.path
local.base... |
e4de1cf3d552a9b0d8d677224a0d8a807ba690f1 | cb102427b8a13e8667a6e97e6b04976f16215615 | /man/weightedMscale.Rd | bcaf8f23f55eae7991a94dea5cf3ab930576bd12 | [] | no_license | cran/RMBC | a672b792273a4e9d7110b25f78cb1c2125867bde | 53101d69ac03b1cc6a6a730575a55943d0d97da7 | refs/heads/master | 2023-06-26T10:11:18.724235 | 2021-07-22T05:40:05 | 2021-07-22T05:40:05 | 388,515,071 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 896 | rd | weightedMscale.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/weightedMscale.R
\name{weightedMscale}
\alias{weightedMscale}
\title{weightedMscale
the M scale of an univariate sample (see reference below)}
\usage{
weightedMscale(u, b = 0.5, weights, c, initialsc = 0)
}
\arguments{
\item{u}{an univariate ... |
db43958c3cf70850c6eb9520608064992f89d21f | 49aaf90b347f72c37235ecf39a129a1365d54d1c | /DataAnalysis/riskbugetResult.R | 41fdee8a2981e2184e6b23acd23be5c8e2b92307 | [] | no_license | algo21-116010293/Assignment1 | 9f43fd65ec0e06699966080078904f6750e05d42 | 3c5a6d758cf61a5db9ac86421d62907d46253a32 | refs/heads/main | 2023-03-23T15:11:46.302657 | 2021-03-20T04:18:38 | 2021-03-20T04:18:38 | 349,147,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,831 | r | riskbugetResult.R | library('scatterplot3d')
library('rgl')
library('MASS')
library('lattice')
data = read.csv('C:/Users/admin/Desktop/风险预算配置结果.csv')
data = data[,2:11]
SH = data[,1];CSI = data[,2];SGE = data[,3];GI = data[,4];HI = data[,5]
av = data[,6];ar = data[,7];sr = data[,8];mddr = data[,9]
srMDDR = data[,10]
ratio = c(0,0... |
059a098e2538e12f2eb34cdf394b7f52c24877db | ab3a5543fe3418aa0455e8e5a49f02a7cf649bda | /R/mask_recovery.R | 109e0e920aff137c0b7dd971da59ece17536df60 | [] | no_license | jonasbhend/VOLCprediction | 19982a69cb3bacef9c5959f1dfb7ed02543ae03a | be5171de58db1254eb48c9767227c1cc5f008eca | refs/heads/master | 2021-01-02T22:30:18.360030 | 2015-03-11T07:34:21 | 2015-03-11T07:34:21 | 18,637,804 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,060 | r | mask_recovery.R | #' @name mask_recovery
#' @aliases mask_erupaod
#'
#' @title
#' Mask n years after eruption
#'
#' @description
#' This functions masks forecast scores for n years after the eruption, to
#' exclude years with recovery from volcanic eruption in the averaging
#' interval.
#'
#' @param x input (output from all_scores)
#... |
b8fa33d5ddd33d5549528b0f8fc77386547b2caa | 7a2af3a535e95c8330bf1988ed02e06af907a147 | /R/get_channel_sections.R | 334a9f44801eeba1befe16c7f1e4255d772e437d | [] | no_license | JohnCoene/youTubeDataR | f29d6b9927ae2228173255d472681ef9b20b0819 | 0d3794423d648f6031ea1dc8eea4c5b0bc7185b1 | refs/heads/master | 2020-04-11T08:06:56.707550 | 2018-05-01T19:57:48 | 2018-05-01T19:57:48 | 51,235,971 | 14 | 3 | null | null | null | null | UTF-8 | R | false | false | 4,855 | r | get_channel_sections.R | #' getChannelSections
#'
#' @description Returns a list of channelSection resources that match the API
#' request criteria.
#'
#' @param token
#' Your token as returned by \code{\link{youOAuth}}.
#' @param channel.id
#' Indicates that the API response should only contain resources created by
#' the channel. The d... |
8a5dca7e04cb004f158221e4e505b88e0aee734d | a9a9af4f010a883720f70391d2af66f437cb15c3 | /test_script.R | 4f761fd2c5d3775e327a48a2754ae1cccefb4782 | [] | no_license | kalden/spartanDB | ad4162c78ef54170c21c08a8a7a822fafc457636 | bc698715cdce55f593e806ac0c537c3f2d59ac7a | refs/heads/master | 2020-03-26T23:32:14.724243 | 2019-02-20T11:05:17 | 2019-02-20T11:05:17 | 145,549,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,362 | r | test_script.R | # R & MySQL tutorial
# https://programminghistorian.org/en/lessons/getting-started-with-mysql-using-r#open-mysql-workbench
## Main Script here:
library(RMySQL)
library(spartan)
library(EasyABC)
# R needs a full path to find the settings file
#rmysql.settingsfile<-"~/Documents/sql_settings/spartanDB.cnf"
rmysql.settin... |
7e28a077cad970821d5821929f5a2115fd62518c | f16d1db416fc25ccb644c73ba5097616cadc6cc4 | /Aggregate_Data_R.R | 95abd063712ea91b215eec367a91b69ac1304e73 | [] | no_license | anjalimutha/R-Programs | ce095f0230f154194ac279000b9d11b257429de9 | 9590417775d8f41325d82062c8419462dd6971ac | refs/heads/master | 2021-05-14T09:00:54.711004 | 2018-01-04T23:22:37 | 2018-01-04T23:22:37 | 116,316,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,105 | r | Aggregate_Data_R.R | #open data
data(stulevel)
# Average ability for all students
stulevel_agg_1<- mean(stulevel$ability, na.rm=TRUE)
# Show results
stulevel_agg_1
# Convert stulevel to data table
stulevel <- data.table(stulevel)
# Declare which variable you want to group on (optional).
# List the name of the data table first, then the n... |
6382700a507709276237f700d9888e43ff106b8d | 3b8a4b5b89cf8bf465f9766d276bc7d356706dd7 | /man/print.ISEdescription.Rd | 5bf663906b7adaa2074b3b6c2952f336bf2b9413 | [] | no_license | cran/ISEtools | 4bf9df44c9b2be5f3a87d696f9ba39406f7fe3e1 | c7e0b163a0a47aecc32d69372328afd0ba5b72ba | refs/heads/master | 2022-11-07T06:42:15.447467 | 2022-10-19T08:17:57 | 2022-10-19T08:17:57 | 164,702,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 526 | rd | print.ISEdescription.Rd | \name{print.ISEdescription}
\alias{print.ISEdescription}
\title{Prints tables of ISE parameters.}
\usage{
\method{print}{ISEdescription}(x, ...)
}
\arguments{
\item{x}{ISE analysis results (e.g. object of class analyseISE)}
\item{...}{Other objects passed through.}
}
\value{No return value, prints results f... |
69afbb4a25317e64230c83c33ad3f0934c4d5e13 | 9a5c565e5e8ab108b59d7026abcab1807704942c | /man/ctvs.Rd | 7691e397f2788a4a876fc5ff174016f473a40df5 | [
"MIT"
] | permissive | Dahaniel/glodatamix | 150ba78a7a0d569dd397052b6e3ae7eb1c8d12c7 | 40782789813d3229bfcbe84fcd5993a21876d94e | refs/heads/master | 2021-01-15T15:44:24.672042 | 2016-08-17T11:37:01 | 2016-08-17T11:37:01 | 35,495,052 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,606 | rd | ctvs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ctvs.R
\name{ctvs}
\alias{ctvs}
\title{ctvs}
\usage{
ctvs(data.object, ctv.type, rec.frames = NA, bg.firstframe = NA,
bg.lastframe = NA, sig.firstframe = NA, sig.lastframe = NA,
wa = c(0.2, 0.7), plot = F, report = F, ylim = NA, mfrow = c... |
5ca195bf15ff75198dd1a656a0d6d676d203f8cc | c3826e89c7c78acdcc4596820d03fa96c8710b38 | /R/data.R | 5a320daa6e67ee5fa61d1cf896d10a2bf21fa298 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | chen496/SomaDataIO | 7b393fad010774e17e086555a026c2a38de06415 | b8f00329aaa283f8243d1064a7bda19b873fdd67 | refs/heads/master | 2023-06-24T21:22:02.222540 | 2021-07-27T20:45:52 | 2021-07-27T20:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,966 | r | data.R | #' Example Data and Objects
#'
#' The `example_data` object is intended to provide existing and prospective
#' SomaLogic customers with example data to enable analysis preparation prior
#' to receipt of SomaScan data, and also for those generally curious about the
#' SomaScan data deliverable. It is **not** intended to... |
222d7ac0ab5e0090a0c8f7041fa24015ca8d1dd4 | 1cac56f720d629345939433e197fd8a9476bed6c | /R/OVOT-SNOW.R | 02ae6ae6ff9b6624550e44fe845ebe0a2a82a8fa | [] | no_license | sqlitus/R-ONOW-Analysis | ece0926b5c5ff2f515cc9c6987164e75f7737126 | c9077f182b9d0a61d303fb174f388a57fb9b59f7 | refs/heads/master | 2020-03-22T07:47:48.166340 | 2019-10-31T01:21:14 | 2019-10-31T01:21:14 | 139,723,839 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,452 | r | OVOT-SNOW.R | # Open Volume Over Time - HISTORICAL BACKLOG REPORT #
# Purpose: dataset of all open tickets for each day
# Note: Using Incident Team History & State History to find open queue volumes
# Log: touch ups, filtering out redundant re-assignments from team hist. Doesn't change OVOT in this case but speeds up script.
# co... |
2640c112d2cd279289738779dcc77b5f399a8eef | b55244f5f1efe5838dc42ca7c2c2468f6b143ddc | /man/save_googlecloud.Rd | 32f564ea60c3b03faf7421d01c429cba0ecc9c3a | [
"MIT"
] | permissive | djnavarro/jaysire | 17b4a557d0ffc4540840e137e4c2f42974a8b29e | fd76ccbce491bc8575ac4e751d97db3d5227e327 | refs/heads/master | 2021-06-25T18:36:35.041591 | 2021-04-07T11:15:13 | 2021-04-07T11:15:13 | 217,963,163 | 43 | 10 | NOASSERTION | 2020-10-17T08:58:48 | 2019-10-28T04:00:57 | R | UTF-8 | R | false | true | 1,236 | rd | save_googlecloud.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/save_locally.R
\name{save_googlecloud}
\alias{save_googlecloud}
\title{Return a javascript function to save data to Google datastore}
\usage{
save_googlecloud()
}
\value{
A javascript function to write data to the Google datastore
}
\descript... |
b68adb93b2c08bbcd88ba3d5d68b3060314c231f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/tseriesEntropy/examples/Srho.test.ts.p.Rd.R | 7bb0614a1ff0101779f7422ece1fc0e964ae7441 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | Srho.test.ts.p.Rd.R | library(tseriesEntropy)
### Name: Srho.test.ts.p
### Title: Entropy Tests Of Serial And Cross Dependence For Time Series -
### Parallel Version
### Aliases: Srho.test.ts.p
### Keywords: ts
### ** Examples
## Not run:
##D ## ************************************************************
##D ## WARNING: computationa... |
e1ee4972026bfb0562561750843632fedaa06f75 | 734e403665bc8433227db1a5c49c39b818c4e6c8 | /man/initContext.Rd | 526122e331d7dba0ddb08b3fbe8e8499c631666c | [
"MIT"
] | permissive | KWB-R/kwb.context | 527d71a5db860267a4ece637b7c0ead3c24d521e | 55f830caf99af08d82ed87cd3534b2d905eb6fb0 | refs/heads/master | 2023-06-13T07:11:30.179822 | 2021-07-08T19:46:05 | 2021-07-08T19:46:05 | 161,501,032 | 0 | 0 | null | 2021-07-08T19:46:06 | 2018-12-12T14:37:33 | R | UTF-8 | R | false | true | 485 | rd | initContext.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/context_main.R
\name{initContext}
\alias{initContext}
\title{Initialise the variable storing the full function call context}
\usage{
initContext(number = getDefault("initContext", "number"))
}
\arguments{
\item{number}{Number of the context. ... |
9ca13f3ee60a09daa95b0ca0850fcef6f25ab975 | 7265ecd0f649137d9c19e4739afd7cff72d9c872 | /plot3.R | 648265714d10ef5fa9a6174de0449ad558549e18 | [] | no_license | juanfgonzo8/ExData_Plotting1 | 43345138a2c15e2a4d11108390f3ed80a15abcc7 | 9d5929ab5924b326a49b5d127398f65b0de8d633 | refs/heads/master | 2023-01-04T22:15:06.134001 | 2020-11-05T15:10:03 | 2020-11-05T15:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,400 | r | plot3.R | ##Script to generate the third plot by juanfgonzo8
#The unzipped dataset must be in the working directory for the code to run
#The data from the two dates required is loaded using read.table and subset
data <- subset(read.table(file = "household_power_consumption.txt", sep = ";",
header = TR... |
b459ba118fb2e6ca6406cee297853915d3be655f | cb158c0ef3db7c1e0540e0a24913fd8d917b5086 | /analysis.R | 5889e9d84eb98e65db2a3ce1ad314d8828009eac | [] | no_license | HappyFeet75x/capstone_project | 4459b7b037c98e6b945f4f5aee8641ebfce8e3f4 | 2720e9fc4cf71f498a71a27903f4cb90301910e7 | refs/heads/master | 2021-01-18T06:22:54.628656 | 2016-02-14T19:35:26 | 2016-02-14T19:35:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,189 | r | analysis.R | # Load Packages
library(dplyr)
library(xml2)
library(DBI)
library(RSQLite)
## Ensure working directory is correct
## If fails, set working directory to root dir of project, e.g. setwd('~/source/NASS')
expected_dirs <- c("01_abstract", "02_data_review", "data", "doc")
stopifnot(dir.exists(expected_dirs))
## Useful Fun... |
d96809ae7afaea7d638299e003c1f5e6b26239f9 | 9fbb245678e32c6ae2b67272dd4d25ff54a71107 | /plot4.r | 2f199b39a5432995335bce88d11efae0f90adbe5 | [] | no_license | nikot112/ExData_Plotting1 | f79bd3de98fca76942d2e0996a46b464562b6100 | 82ceb99dd718c60a829f94796121fa03866c2ee7 | refs/heads/master | 2020-12-31T02:42:35.177372 | 2015-04-11T02:59:27 | 2015-04-11T02:59:27 | 33,697,428 | 0 | 0 | null | 2015-04-09T23:15:49 | 2015-04-09T23:15:49 | null | UTF-8 | R | false | false | 1,504 | r | plot4.r | ## Remember to go to your working directory with the "household_power_consumption.txt" file
## Read in data
data <- read.table("household_power_consumption.txt", header=TRUE, sep=";", na.strings="?", stringsAsFActors=FALSE)
## Convert Date column from character class to date class
data$Date = as.Date(data$Date, "%d/%... |
0b76827e5c2fa9a93085530c23c06000abab0d8e | 037a6e231949b9a2896ffa09792c28a8579e7bf2 | /notes/EQG_2016/Day2/Exercise3.1/Exercise3.1_data.R | 0330e623496b1bccddec9ea91e5b274f9acf4839 | [] | no_license | nicolise/UW_EQG_2017 | 18c478dced5f554cefc0647bab0a760e19e6c256 | e6b3da988fa84bbb6479c2f055cdf2e306b6f86a | refs/heads/master | 2021-01-22T02:13:04.983131 | 2017-06-12T18:54:04 | 2017-06-12T18:54:04 | 92,337,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,380 | r | Exercise3.1_data.R | LITTER NAME SPEED BODY TAIL
761 1 0.162074554 154 77
761 3 0.090189905 149 70
761 4 0.10823 153 69
761 5 0.276094735 154 73
761 6 0.135317997 150 72
761 8 0.203252033 149 68
761 10 0.1926009 153 74
761 11 0.173301644 149 72
761 12 0.168957969 155 73
761 15 0.147275405 160 66
764 1 0.136612022 155 78
764 3 0.104... |
344af45736bdf8cd72d95e305f1b35c4087d4954 | e54b786c875ff2e6c1eae31ee774c6b6147794c2 | /R/S4/find_annotations.R | 7c9fdbfbf55cc83d4750253f34bffc45816a308c | [] | no_license | hjanime/STAU1_hiCLIP | 9f1d5516b6b5f7413709315b2f0985d729719480 | 861051cae1b2508a9c3871bf24f377479ae460a7 | refs/heads/master | 2020-12-11T05:26:01.387765 | 2015-01-07T22:00:06 | 2015-01-07T22:00:06 | 36,923,073 | 1 | 1 | null | 2015-06-05T09:05:11 | 2015-06-05T09:05:11 | null | UTF-8 | R | false | false | 8,780 | r | find_annotations.R | ##############################################################
#' annotateHybrid
#'
#' annotateHybrid annotates hybrid reads.
#' @param \code{hgrl}. HybridGRL object to be examined.
#' @param \code{a.df}. Annotation data.frame contains catergory and annotation of each genes.
#' @param \code{t.gtf.gr}. Transcriptome coo... |
7217ec6d00f59fbfca320265fe992d4c8d1a9f20 | 869759586dae387b361e31e40e6d21eb6defaa49 | /HW 5 - Perceptron/HW5.R | ed79257de243784d64665ca8131a4b436f1344eb | [] | no_license | rishi-ag/ML_Assignments | 49cd460b39600cd0690fd606007f0157dfc6f518 | 487dfbac61b5c08c19881924726497db8a2a3775 | refs/heads/master | 2021-05-29T15:18:04.470385 | 2015-05-09T18:25:06 | 2015-05-09T18:25:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,507 | r | HW5.R | if (!require("devtools") install.packages("devtools")
if (!require("ggplot2")) install.packages("ggplot2")
if (!require("reshape2")) install.packages("reshape2")
if (!require("ggthemes")) install.packages("ggthemes")
source("c:/Users/Rishabh/Documents/BGSE Material/Sem2/14D005 Machine Lear... |
7239d055c176d4f85b46d46c460ccfe48d81029a | 57e77ea9dfe2ce75d4c7e69490901d21059bd410 | /20220330_repetitive_R_code.R | 0b6298f0f633a2878c72fceeb711a4c3e2b091db | [
"CC-BY-4.0",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | oulib-resdata/repetitive_r | 74bfb32b5787be06f6448eaf6be3b2013e741d42 | 5163f4bd30620d0802cf4396c2876aac4f22817a | refs/heads/main | 2023-05-29T23:35:59.193119 | 2023-05-17T17:59:02 | 2023-05-17T17:59:02 | 188,274,852 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,504 | r | 20220330_repetitive_R_code.R | x <- 1:4
x * 2
y <- 6:9
x + y
mtcars$mpg
#Challenge 1 - convert mtcars$mpg to kpl
#conversion factor is 0.43
mtcars$kpl <- mtcars$mpg * 0.43
greater_than_two <- x > 2
sqrt(x)
lapply(X = mtcars, FUN = mean, na.rm = TRUE)
means_mtcars <- mtcars
means_mtcars[2:3] <- lapply(X = mtcars[2:3],
... |
d58b32b43710299de2c3e8cfa5a39ec2f783ad2a | db86076191c1d17eee12f39ef6712bc4b8e85925 | /Plot3.R | 6e9b8ca1e2a89a36c33870cf4a9e46b8b80f0c41 | [] | no_license | remibacha/ExData_Plotting1 | 19ea637a4803f19ff3f2bb5ebcaa23715c94d57c | 401e7c94a581c0af6cf864f9acf4d3594bcc1c0b | refs/heads/master | 2021-07-01T19:41:55.874315 | 2017-09-22T07:10:18 | 2017-09-22T07:10:18 | 104,225,020 | 1 | 0 | null | 2017-09-20T14:18:30 | 2017-09-20T14:18:30 | null | UTF-8 | R | false | false | 1,254 | r | Plot3.R | setwd("~/Documents/Scripts_R/Coursera")
fileURL<- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileURL, destfile = "~/Documents/Scripts_R/Coursera/household_power_consumption.zip", method = "curl")
unzip("household_power_consumption.zip")
dataset <- read.table("h... |
e91e4be95589ab208e889fe322ce641b1b75a171 | 5733768465a94706d5d902b48297a48eb5b7693c | /R-main/proportion_sig_test.R | 07563724fae270ab11f6036ab1b2a4bb5b0d2bb2 | [] | no_license | eriqande/rubias | 18a05dee424fbd8da56654ae5d4702bd9d23bb3c | 8273ffdedd92b3bbcef6a6fd0e5a4391e93ee0b8 | refs/heads/master | 2023-04-06T23:18:45.363792 | 2022-02-09T22:17:37 | 2022-02-09T22:17:37 | 63,456,523 | 2 | 2 | null | 2019-06-09T18:04:26 | 2016-07-15T23:34:15 | HTML | UTF-8 | R | false | false | 5,461 | r | proportion_sig_test.R | library(ggplot2)
library(dplyr)
load("~/R/rubias/cjfas_data.RData")
# Exploring the relationship between RU bias and the difference of the true rho and Nc/P
### STASTICS IN THE PAPER APPEAR AT THE BOTTOM OF THE DOCUMENT ####
# First, in coalescent data; calculate residuals both with (prop_diff) and without (diff)
# ... |
087de8497843d0e41b74bca3b842b317b795c7df | 20df9ae1aa7cd7c653a49ec48b54dd78a732dc39 | /macDemo.R | 6602403d689519666b3cb277385e7818d40c0245 | [] | no_license | ParkerOHeeron/MachineLearningDemo | 2b7c8318fc7673d4b8cc161f93ce537c580976d3 | a5f9b62ad838ce1ba70fef01c7171d09d70545b8 | refs/heads/main | 2023-03-18T17:04:15.257242 | 2021-03-18T20:22:22 | 2021-03-18T20:22:22 | 342,719,088 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,876 | r | macDemo.R | install.packages("tidyverse")
library(tidyverse)
install.packages("reshape2")
library(reshape2)
housing = read.csv('housing.csv')
head(housing)
summary(housing)
par(mfrow=c(2,5))
colnames(housing)
ggplot(data = melt(housing), mapping = aes(x = value)) + geom_histogram(bins = 30) + facet_wrap(~variable, sca... |
7cea6142985d9ba46d9200f375c97fb32a986217 | 3d4fd9491344654eb6055930c6f407948c892fd4 | /man/update_ade.Rd | b98cbc5f58d4be288e599747b5e79a82d3a9fb40 | [] | no_license | vcerqueira/tsensembler | bb8542e81177e1c1da84ae53070840b1ade3d018 | b0f1c786440ed3d09160931d970df3eeab09eb5e | refs/heads/master | 2021-07-18T21:26:22.651558 | 2020-10-24T11:46:06 | 2020-10-24T11:46:06 | 82,293,256 | 34 | 14 | null | null | null | null | UTF-8 | R | false | true | 1,936 | rd | update_ade.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/arbitration-methods.r
\docType{methods}
\name{update_ade}
\alias{update_ade}
\alias{update_ade,ADE-method}
\title{Updating an ADE model}
\usage{
update_ade(object, newdata, num_cores = 1)
\S4method{update_ade}{ADE}(object, newdata, num_cores... |
ae9c727cf1e76236cf29204b74e2297a7c6eda56 | 4e0329a15458fb7f19598134f853e38d8bafe327 | /process XBT files.R | 6a781dd42589583c3040e270b585d6cc7dc96071 | [] | no_license | Planktos/OSTRICH_rvws | 18da40988886d59789a79adbac8eec9689ed49f4 | 39185d22cd86787f99d7ca0bc181ee9af73c55b9 | refs/heads/master | 2016-08-12T14:54:22.153195 | 2015-11-05T20:13:13 | 2015-11-05T20:13:13 | 45,570,012 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,855 | r | process XBT files.R | #PROCESS XBT DEPTH FILES FROM R/V WALTON SMITH & ADD LATITUDE AND LONGITUDE
#Step 1: Add date, time, latitude, and longitude values to individual XBT casts so that data can be imported into and related in Access and Arc geodatabase
setwd("C:/Users/kelly.robinson/Dropbox/Cowen_Sponaugle/OSTRICH/PhysData/Data")
library... |
c976365601b325c838af05905b64595fe04b4dfc | bd8a7c215d851e6b3c44165baec15e3f13efb665 | /man/es_add_static.Rd | 45e69f29687fb47b179fad9bbb554b50d2c7306c | [] | no_license | mYstar/easyshiny | dfe36d11f97d390cb3e7e5548f64d6939b9de36a | 9987d571a65ecdb6004cfa112ad80f027694b0fd | refs/heads/master | 2020-04-12T15:02:55.283045 | 2019-06-19T08:19:46 | 2019-06-19T08:19:46 | 162,569,346 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 613 | rd | es_add_static.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/es_add.R
\name{es_add_static}
\alias{es_add_static}
\title{Add Static Component}
\usage{
es_add_static(static_call, tab = "Output", box = "Result")
}
\arguments{
\item{static_call}{a call to a \code{\link[shiny]{tags}} element or a correspond... |
9381eeb40783f4c60065f333f2f187c751ad5525 | c13fd87cbb4066729f529a09f06db1649b7d1d6f | /man/eco.unlock-ecogen-method.Rd | 80259aa566af26c49c619a5a2a22a9020cad5062 | [] | no_license | cran/EcoGenetics | 05c6bd845a714051c5317f3e70ececf8b2dbc40b | 46b904508a5958f3cb11513b83cc6b69c3c0a3ab | refs/heads/master | 2021-01-17T14:00:47.875370 | 2020-05-24T14:20:17 | 2020-05-24T14:20:17 | 30,083,571 | 2 | 4 | null | 2018-01-12T04:31:38 | 2015-01-30T17:44:07 | R | UTF-8 | R | false | true | 630 | rd | eco.unlock-ecogen-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ecogen.3OF6.basic.methods.R
\name{eco.unlock,ecogen-method}
\alias{eco.unlock,ecogen-method}
\alias{eco.unlock,ecogen}
\title{Unlock rows in an ecogen object}
\usage{
\S4method{eco.unlock}{ecogen}(object)
}
\arguments{
\item{object}{object of... |
b61330e16c7eee3fb852c226443ce9e286aac029 | 79be0e4475dedd9e4ad859a4f995e6779a03bd7b | /lab#3_Golakoti.R | 1b6a6155094ac62ebaf33b89545b410d6e079e91 | [] | no_license | Kgolakot/DatascienceR | 583441624636dbc32b7b28c7d7a22a5f61fccbd1 | 43b94348f5757878efcbcc152848ed2cdd706a89 | refs/heads/master | 2022-12-17T12:38:56.845691 | 2020-09-13T09:42:07 | 2020-09-13T09:42:07 | 295,119,842 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,098 | r | lab#3_Golakoti.R | #Clear workspace
rm(list=ls())
#load elemstat library for data
library(ElemStatLearn)
#set initial seed
set.seed(22)
#load SAheart data
data(SAheart)
df<-SAheart
#summary of the data
summary(df)
#change factor values to numeric
df[,5]<-sapply(df[,5], as.numeric)
#boxplots of predictors against responses
par(mfrow... |
2f5e9e3bf41063c1d8302916a3a264a8b092d85a | a3a480e10fdd7aef344d2ae7caefdae801ae24cb | /Steimann_TCM_Original.R | cebfdb89f58fa8d3d37c18c5b53da174f4c763ef | [] | no_license | yigitk/R-scripts-for-ICSME-Publications | df0c8d5e90cc4c24ca1a3f165cfccd446f263fc9 | 2ea64da58e48dcbc1d7a54f76af5e01da021cf76 | refs/heads/master | 2023-02-02T02:08:54.313360 | 2020-12-16T17:58:58 | 2020-12-16T17:58:58 | 322,061,717 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,800 | r | Steimann_TCM_Original.R |
ranking_cost_exam <-
function (arr, col) {
# cost to hit the first bug
tmp_array <-
arr[which(!((is.na(arr[, col])) | (is.nan(as.numeric(
arr[, col]
))))),]
if (is.null(dim(tmp_array))) {
cost <- 1
hit_bug <- 1
cost2 <- 1
cat("wierd!!", "\n")
} ... |
6eff9cfc5e660ce02991cf1e7e13c0284be1bfba | 80f18bfa822b1e58d7b023d80b4f0e2bef442c19 | /run_analysis.R | 10547cab8a20a2a3e551d850f1c33bb3ca8e7956 | [] | no_license | smalapet/datascience_course_3 | 412819310f996ea245bd4b6abb753a61a2447c14 | 661cdb945b875825af44249a472e92fab0aa37a7 | refs/heads/master | 2021-01-22T04:10:29.968968 | 2017-09-03T13:03:58 | 2017-09-03T13:03:58 | 102,264,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,407 | r | run_analysis.R | run_analysis <- function(){
##1. Read features and activityLabels vector
features <- read.csv("features.txt", sep = "", header = FALSE)[2]
activities <- read.csv("activity_labels.txt", sep = "", header = FALSE)
##2. Read data sets
test_set <- read.csv("test/X_test.txt", sep = "", header = FALSE)
train... |
4c764f1ae954dfcd4fbec101c1c9de1a735e7534 | 7456d3eae8574560e823cd4180579e7e16a5c9f0 | /R/parToCov.R | 10dd3b8d300ee5c53dc8f5c31106d13d8c2d1eed | [] | no_license | fbertran/ebadimex | 7f362e82315f4172eef5798c57765611b3a311bc | e0db30de62b1b4d8fbd59cd567ffb4c4af498ba9 | refs/heads/master | 2021-09-22T03:20:25.246862 | 2018-09-05T18:34:46 | 2018-09-05T18:34:46 | 257,308,813 | 1 | 0 | null | 2020-04-20T14:36:00 | 2020-04-20T14:35:59 | null | UTF-8 | R | false | false | 690 | r | parToCov.R | ##################################################
# Unconstrained parameterization
##################################################
#' @export
parToCov <- function(th){
th_1 <- th[1]
th_2 <- th[2]
th_3 <- th[3]
l_11 <- exp(th_1)
l_21 <- exp(th_2)
l_22 <- pi*exp(th_3) / (1+exp(th_3))
Sigma11 <- ... |
cb7307b77412c01ac6f5dcc76ba180bc485edd9c | 00ff834e26ad86758e1a29d23cff2509bdb842fe | /man/firstup.Rd | f9a27599723917cddaa953c308206f6338cd9b88 | [] | no_license | dataning/ropenfda | 9c227e5d2ef49abed7019795b0c9e81c920dd1f2 | 87c1dfb5da7f0b0ca47f7a4d8603d5947e4df81e | refs/heads/master | 2021-05-04T15:51:27.229673 | 2017-04-02T02:57:20 | 2017-04-02T02:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 331 | rd | firstup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/help-functions.R
\name{firstup}
\alias{firstup}
\title{This is an internal function to capitalize the first letter.}
\usage{
firstup(x)
}
\arguments{
\item{x}{Input string.}
}
\description{
This is an internal function to capitalize the first... |
62155d63b146889dec42616fda58164723fd8586 | 85a2068fee8e58fbdb8cd184077ba68490e557cc | /man/get_LeadService.Rd | 1a7b22611a533f8dbf74ad6600489830802502ca | [] | no_license | jdjohn215/milwaukeer | 06f33bdf0c7daf98b044e9e284f99547b99a8604 | f3034af2c09fc4763e3e2d35f86576e8f404b29e | refs/heads/master | 2020-04-08T13:49:59.029627 | 2019-08-28T21:11:23 | 2019-08-28T21:11:23 | 159,408,851 | 3 | 2 | null | 2020-03-22T05:32:36 | 2018-11-27T22:31:50 | R | UTF-8 | R | false | true | 1,032 | rd | get_LeadService.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_LeadService.R
\name{get_LeadService}
\alias{get_LeadService}
\title{Get the locations of lead service lines
\code{get_LeadService} returns a data.frame containing addresses in which the city-owned
section of the water service line is made... |
2d92b247646190612cc70cb0f4bbfe2e786d9009 | 19361af6ab987d9a87334a3f6c83e07b434d2698 | /R/dist_wpd.R | 94be49cb7bf333c44644d928a9c1acfa9ef1ffbe | [] | no_license | Sayani07/gracsr | 1f3ef4395874316994e3b265758f847407f8444e | 0f365cd358f808cd077403d7d7a534cc584e59ce | refs/heads/master | 2023-09-03T22:46:45.477390 | 2021-10-27T00:45:27 | 2021-10-27T00:45:27 | 395,581,498 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,057 | r | dist_wpd.R | #' Title Compute distances based on wpd
#' Computes distances between subjects based on wpd across different granularities
#' @param .data a tsibble
#' @param harmony_tbl a harmony table
#' @param response measured variable
#' @param nperm number of permutations for normalization
#' @return returns an object of class... |
f2e5fea5c8bdea8c1fce19aa1fe55a31c21c57ca | c1c86256adc1e7f9f9397654acd92254b2d93a43 | /dendogram.R | 763aaa5855a13151a2414db768b1c325ed6f3b37 | [] | no_license | Marzan1/Code-for-heatmap | a61987eaf903639701930ee2c2f118d2911f975c | bbbfe1a299c35a90ba2c48ec2c82f83b8088e2f8 | refs/heads/main | 2023-07-10T20:05:42.706172 | 2021-08-24T23:03:33 | 2021-08-24T23:03:33 | 399,626,793 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 230 | r | dendogram.R | tr <- read.csv(file= "heatmap1.csv", sep = ",", header = TRUE)
row.names(tr) <- tr$X
tr <- tr[, 2:30]
dis <- dist(tr)
link <- as.dendrogram(hclust(dis, method = "complete"))
par(mar = c(3, 4, 1, 15))
plot(link, horiz = TRUE) |
219a5de570edc0cddb8349f6532ae1190a5cf1c8 | bb1e610719504eadec848afaeea6dcb0069bedc4 | /EPL_League results scrap.r | 45c7c91c4d8618e27f9e2a671366514825a39e63 | [] | no_license | batemansogq/R_cde_bkup | c8a5a4ef3a5bf8024f631c79bf0063c485d08946 | 8b4a9f51ee28c067e869df538bdf3634d09b142b | refs/heads/master | 2020-12-07T23:02:32.150473 | 2020-03-17T10:54:40 | 2020-03-17T10:54:40 | 67,341,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,855 | r | EPL_League results scrap.r |
#install.packages("rvest")
library(rvest)
library(stringr)
# whole table
# .box2+ .box td , th
# schedule
#.wfb-ad+ .box td
#page ref
ref <- read_html("http://www.worldfootball.net/schedule/eng-premier-league-2011-2012-spieltag/1/")
# "http://www.worldfootball.net/schedule/eng-premier-league-2012-20... |
438789f89d592ff232fdbc5914f330d02cbda2ff | 9598c94fe076830bfece6e366b87cff83c4c66b6 | /shocks/Identification of govt spending shock ES 1980q1-2018q4.R | d0f4137766cfad86782cc2360e6f22d4472b4433 | [] | no_license | mdg9709/spilloversNL | 1b8d836ad4f5d1145f6cc15345745358d5f15b24 | 04388fe2bfcf764ab4a256b456db3de00ba824f9 | refs/heads/master | 2022-11-18T22:37:24.704113 | 2020-07-17T17:07:07 | 2020-07-17T17:07:07 | 280,177,983 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,554 | r | Identification of govt spending shock ES 1980q1-2018q4.R | ###########################################################
# Identify government spending shock through VAR(4) model #
###########################################################
# Spain, 1980q1-2018q4
# Import Spanish fiscal data and other data
library(readxl)
fES <- read_excel("~/Studie/MSc ECO/Period 5-6 ... |
749bc1e5e506a8fee630ff4cac232e3f9be6747c | fa57e15d1a5a91acd42f01f4d0222cb291426e03 | /MyFunctions.R | 32e60eb86cdbfa164f2379d7637df6e364ecea6d | [] | no_license | emdean99/Bio381Scripting | 517649d3058a1fb4c6e07bae05affb1b1ff3b986 | a444340a6d3c4146ff193009812c7e63473aec84 | refs/heads/master | 2023-04-07T05:52:41.914867 | 2021-04-27T20:54:17 | 2021-04-27T20:54:17 | 339,512,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,938 | r | MyFunctions.R | # All function must be declared at the start
###########################
# FUNCTION: get_data
# read in .csv file
# Input: .csv file
# Output: data frame
#----------------------------
library(ggplot2)
get_data <- function(file_name=NULL) {
if(is.null(file_name)) {
data_frame <- data.frame(ID=101:110,
... |
8a11a7435d29e62af7a13e673b4a315a9cfd089a | e508870d7b82ca065aff9b7bf33bc34d5a6c0c1c | /pkg/man/fT.LandT.Rd | dcc9828977c258b9d0a727fe16afaee08dcc2fb9 | [] | no_license | Dong-po/SoilR-exp | 596be0e6c5d291f00c6e08c348952ee23803e15e | c10d34e035deac8af4912c55382012dfc247eedc | refs/heads/master | 2021-09-03T11:12:49.199268 | 2018-01-08T15:52:17 | 2018-01-08T15:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 688 | rd | fT.LandT.Rd | \name{fT.LandT}
\alias{fT.LandT}
\usage{fT.LandT(Temp)}
\arguments{
\item{Temp}{A scalar or vector containing values of soil temperature for which the effects on decomposition rates are calculated}
}
\description{Calculates the effects of temperature on decomposition rates according to a function proposed by Lloyd and ... |
01573d2c393e2fefb8f83cdef6b83fd3e76e7558 | 720e2039cc492ee7299b096ecd3d556900c1b565 | /1b.sRoot_Extraction.RES.PSF.R | fa168d5e6831a5e5775e4608a44b393ce23c29d1 | [] | no_license | ggpmrutten/linkingRES-PSF | 061165ad981b7018a802f183a7a5e66df612a154 | df6943a2101c1c0f69c47948ed8d19e7e7c9aa73 | refs/heads/master | 2023-04-10T15:09:48.909719 | 2023-02-10T10:48:13 | 2023-02-10T10:48:13 | 596,455,574 | 0 | 0 | null | 2023-02-10T09:53:47 | 2023-02-02T08:13:11 | R | UTF-8 | R | false | false | 9,522 | r | 1b.sRoot_Extraction.RES.PSF.R | ## Collects root traits from the database based on species list
## also adds phylogenetic tree and a figure
##
## Project: Review Plant & Soil
##
## by Gemma Rutten (gemma.rutten@unibe.ch)
## Last Edited February 23
##
##
### Used data from Petermann et al 2008 and Bennett et al
## clean working space
cat("... |
14213139de53cd844ac90656f2782d8af8fcf918 | 999390ceca09f02cb2b10e9c1489591c2da69ee3 | /RScript/IM_Replace/script.R | 9fa4ce992ad8c9e8240ee055ec575dc15fab6d30 | [] | no_license | Benjit87/SAP_Predictive_Analysis | c20244c6592e64a289517f49752750716c0c1831 | 7766172024062f419ae7c954ba8b64300449e25b | refs/heads/master | 2021-03-12T23:50:24.193483 | 2014-10-03T11:02:44 | 2014-10-03T11:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 233 | r | script.R | #Replacing missing columns with specified value
IM_Replace<- function(data,col,replace)
{
toimpute <- data[,col]
missing <- is.na(toimpute)
toimpute[missing] <- replace
data[,col] <- toimpute
return(list(out=data,model=data[,col]))
} |
f478c2dbd45bfc91f31bcdc31c6058334a157c60 | d380feade427b7b16b0d4e6b5d953c858e0d2c4c | /R/find potential BOY re-tests.r | 9cf1bdd20dd333fa0f653cec1f86d2aa835c3d8c | [] | no_license | amcox/star | 3d5588ec7170cf690cba2c2e44bf632fc0ddcf5e | f1eaf596f4175924829cd16bad6eed3502a6ca1c | refs/heads/master | 2020-06-04T07:37:33.777105 | 2015-06-28T16:36:17 | 2015-06-28T16:36:17 | 24,352,111 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 895 | r | find potential BOY re-tests.r | library(plyr)
library(dplyr)
update_functions <- function() {
old.wd <- getwd()
setwd("functions")
sapply(list.files(), source)
setwd(old.wd)
}
update_functions()
df <- load_star_and_ps_data()
df <- df[, c('StudentId', 'GE', 'subject', 'last.name', 'first.name', 'grade', 'school')]
names(df)[names(df) == 'GE'] <-... |
129a59fcd2a1f70a4265f4aba55e55daeda74de7 | d4a3833b07bf9458f1faf2d02e670e66e4756e0b | /TimeLineAnalysis/code/ProcessTLD3.R | ed25a403e6a1297d3fb5e004e44372bc054b72a3 | [] | no_license | Uliege/R | 08d8b5d31787f4031af364709d990ef304288be6 | d2e1da210ce1ab5612ec57e0db863e738d45d196 | refs/heads/master | 2021-09-10T23:26:14.254575 | 2021-08-30T09:48:09 | 2021-08-30T09:48:09 | 241,374,139 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 9,161 | r | ProcessTLD3.R | #Script para generar datos de SDE y SDD del paquete ASPACE desde los archivos raw (RData)
library(jsonlite)
library(aspace)
library(dplyr)
library(ggmap)
#Obtener url del directorio de trabajo dek proyecto
urlDefault = getwd()
#Directorio donde se encuentran los archivos raw
urlRawData = paste(urlDefault,"/rawdata/"... |
df46184a27e2e1e2ef0737cc4077a336d4034dce | 98c29220391a8fc864ba394536c6cde766dc8ecd | /dynamic_eqtl_calling/run_gaussian_dynamic_qtl.R | 40bdb7e42a31d6f90d3b12408b589a0c55e0d13e | [] | no_license | BennyStrobes/ipsc_cardiomyocyte_differentiation | 175d2a86b07e6027a343b79376a07eba7941607a | 6f6ac227df5f7ea2cc9e89563447d429aae2eeb5 | refs/heads/master | 2021-07-11T07:09:15.169745 | 2020-07-02T15:37:54 | 2020-07-02T15:37:54 | 156,638,838 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 30,603 | r | run_gaussian_dynamic_qtl.R | args = commandArgs(trailingOnly=TRUE)
#library(lme4)
#library(lmtest)
run_linear_model <- function(model_version, expr, genotype, genotype_interaction, time_steps, time_steps_interaction, cell_lines) {
# Run the models
if (model_version == "glm") { # Regular linear model
fit <- lm(expr ~ genotype + ... |
3d10622693a56ca4875b83de5f237fd6ed1393db | 313c7a941221562a88c60910d85e4f3e51401921 | /Final_Outputs/WAFR_HealthWorkforcePlots.R | 7caf7ebbb286a80cb1eec3e7b8551a81cda9b0a6 | [
"MIT"
] | permissive | flaneuse/West-Africa-2016 | 2f29b118f028c02985575c51fbdffc2b5d9b9475 | dd48b691e1ab55c35a756f81893529fa94e73740 | refs/heads/master | 2020-04-06T07:03:26.547440 | 2016-11-23T17:49:54 | 2016-11-23T17:49:54 | 54,667,387 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,164 | r | WAFR_HealthWorkforcePlots.R | hlthwf <- read.csv("~/WAFR_HealthPAD/4.1_HealthWorkForce_WHO.csv")
setwd("~/WAFR_HealthPAD")
install.packages('tidyr')
install.packages('library(RColorBrewer')
install.packages("ggplot2")
install.packages('dplyr')
library(ggplot2)
library(dplyr)
library(tidyr)
library(RColorBrewer)
#ggplot(hlthwf, aes(x =... |
fc4c19bbfa924eb4c356e6e852e4a83828e7b966 | d8a61260cc584c8556890c1ad23009138dd43138 | /scripts/explore_response_variables.R | 4dba3e9cf513a548eaad6eb05d7fdc7e64bf13fa | [] | no_license | taswegian/LakeAI | 780fcd7cf87d4a95948564606ffa15e80e284072 | 281e1906e4927b53ade384cdd6d5480cdb5a1621 | refs/heads/master | 2020-03-10T07:51:35.128162 | 2019-03-06T20:13:13 | 2019-03-06T20:13:13 | 129,272,352 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,507 | r | explore_response_variables.R | library(readr)
library(reshape2)
library(ggplot2)
library(cluster)
library(mclust)
### Data
response_variables <- read_csv("~/projects/LakeAI/data/response_variables.csv")
rvars <- response_variables
## Distributions
keep.cols <- c(2:8,12:14)
ggplot(melt(rvars[,keep.cols]), aes(value)) + geom_histogram() + facet_... |
12ab33b64126a0da99e78495432a305429fedb9a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/event/examples/bp.Rd.R | 23f7734fa41e2c1a10fd85ec48555aa9c0dc3b30 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 255 | r | bp.Rd.R | library(event)
### Name: bp
### Title: Create a Vector of Cumulative Numbers of Previous Events for a
### Point Process (Birth Processes)
### Aliases: bp
### Keywords: manip
### ** Examples
y <- c(5,3,2,4)
i <- c(1,1,2,2)
birth <- bp(y, i)
birth
|
7d3edc80234494b0e56bac4b5f081fb66d3166da | 24c02fa976057d7bf44a960db688689b0ceb8112 | /plot3.R | 264072d97adfddbda12d9c48f754565746986c8c | [] | no_license | Orsb/ExData_Plotting1 | 64db1629286bcfd639259cc062501e9d57a727d2 | 617ea3d2fc455ed01c03ff66364e9e4c827ac2f6 | refs/heads/master | 2020-12-26T20:11:32.395559 | 2014-11-05T11:23:33 | 2014-11-05T11:23:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 944 | r | plot3.R | labels <- read.table("data/household_power_consumption.txt", header = TRUE, sep=";", nrows=1)
names <- c(colnames(labels))
f<-file("data/household_power_consumption.txt","r");
data <- read.table(text = grep("^[1,2]/2/2007",readLines(f),value=TRUE), header=FALSE, sep=";", col.names=names)
close(f)
#adding new column w... |
9641fd71aaf1a5d4a423294555a8bcfa756818c3 | 4bea6ae8b55c6acf0b9a27942329baa444a53097 | /Rcodes/3-Building single-cross Hybrids.R | 031de40d9ae9ff57a1a28cf3a13dd28681854d8d | [] | no_license | xiahui625649/PlosOne_MVGBLUP_paper | 331e1cdff68b2a6f1c62c5b1fac6080f68210117 | f9c2579c91c168d2c1b88319a1eaa37568f8a518 | refs/heads/master | 2021-05-30T02:10:42.817512 | 2015-11-08T10:24:52 | 2015-11-08T10:24:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,945 | r | 3-Building single-cross Hybrids.R | ############################################################################################################
######################################Building single-cross Hybrids#########################################
#Function to build the incidence matrix of the allele substitution effect
Wa.vit= function (K) {
f... |
b9df529df6b36ba2e9209ebb83a685e8868d36fd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SemNetCleaner/examples/chn.let.Rd.R | e591b797a291ee84ca37efa81ff413c381a5a032 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 130 | r | chn.let.Rd.R | library(SemNetCleaner)
### Name: chn.let
### Title: Change Letter
### Aliases: chn.let
### ** Examples
chn.let("bombae")
|
6827b5be6c5ce682ceadc16c8562851b1e23c61b | bf32fa0d8b4fe0d0a5fa0d7fbbdf471e1c4a5d34 | /run_analysis.R | 8194d6007fce1b1d5abc5ce517b1be2d542f81ff | [] | no_license | thoferon/coursera-data-week4 | 6b74d4962bee113ef78d418904197eb780b7f819 | a57a6db19e59e88207a90051a3f9db5088d7ffc6 | refs/heads/master | 2021-01-01T15:42:27.505805 | 2017-07-19T09:02:30 | 2017-07-19T09:02:30 | 97,678,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,940 | r | run_analysis.R | library(reshape2)
# Download and extract the raw data if not already done
if(!file.exists("data.zip"))
download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip",
destfile = "data.zip", method = "curl")
if(!file.exists("UCI HAR Dataset")) unzip("data.zi... |
383b618834034c9818b5b01fe2c38a9bf8fe29ee | 166c057e761772043e1e5de46d7c8bcc6b1ad8ba | /man/combineHurdleMI.Rd | 5f5c49691667fbbb0f7b2bbda28e970640e1673f | [] | no_license | stevenliaotw/sltools | b1604865b7048eec6cd567233cfb8c0515e23cb2 | dbc2ed0e83fe7ab1fc5215896f66e7f91831823e | refs/heads/master | 2021-01-10T21:20:44.542516 | 2018-08-09T17:43:43 | 2018-08-09T17:43:43 | 20,469,073 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 700 | rd | combineHurdleMI.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/combineHurdleMI.R
\name{combineHurdleMI}
\alias{combineHurdleMI}
\title{Combine hurdle model results fitted to multiply imputed datasets}
\usage{
combineHurdleMI(fitted.obj = NULL)
}
\arguments{
\item{fitted.obj}{a list of hurdle fitt... |
8d9e2120430d346ef9e2fdbde6fca889b3edb00e | 88019e229593c66c7b85ae76f7ed73fb8b5ed31f | /make_pcoa.R | 59571fcfe263a6a6dbcbea619caaa29267e3df2f | [] | no_license | islandhopper81/pitcher_plant_utils | dddf2b354066bf1f28c4e84e79cfcf223d6bcefe | 405771ae5da5e0c6aca027a21398a05778cae536 | refs/heads/master | 2020-12-02T17:47:22.590669 | 2017-07-06T14:38:15 | 2017-07-06T14:38:15 | 96,427,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,693 | r | make_pcoa.R | #!/usr/bin/evn Rscript
library(AMOR)
require("getopt", quietly=T)
library(ggplot2)
### Defualt variables
verbose = FALSE
### Parameter variables
# The params matrix
# Each row is a parameter with 4 columns:
# 1) long value,
# 2) short value,
# 3) argument type where 0 = no argument, 1 = required , 2 = optio... |
8732f380cb9cfb235c4f5bd401d10eed1b082fef | 8373e6ef368e531f335849ec766322fb5b37f0a3 | /R/lungCancerRadon.R | 0b1bf7c2de3a94bb02b8c9de4f95356e64017ad6 | [] | no_license | cran/msce | 4ba9665ca10ced50eb25eb469448a34ee0a4ac26 | 5aee1de170fc9c85f6b7b5739438f9650689b08f | refs/heads/master | 2023-01-07T21:33:15.003639 | 2020-10-29T14:10:02 | 2020-10-29T14:10:02 | 310,516,298 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 708 | r | lungCancerRadon.R | #' Exemplary person year table
#'
#' Data set of fatal lung cancer in rats exposed to Radon at Pacific Northwest National Laboratory.
#' For each rat, the age at start of Radon exposure, the age at end of exposure and the age at end of follow-up/death
#' is provided in weeks.
#' The Radon dose rate is given in WL (work... |
dcc70f2697fa4b569aba3e0486482b7e53f42988 | de7b5af9c415426ad5496ccf0b87f91b663cee29 | /R/diag_function.R | 6cafbdcb7ba63a5f85f3c3cdf626c21ef2cdb453 | [
"MIT"
] | permissive | rgriffier/statsBordeaux | bb465057eab0b41e6d1515f02cfd13adb8179ac8 | ded4292fb43e2a959058267a1f707d25505c0b7d | refs/heads/master | 2021-09-06T15:02:07.420504 | 2021-08-03T13:56:13 | 2021-08-03T13:56:13 | 178,895,755 | 2 | 0 | null | 2020-09-28T14:14:45 | 2019-04-01T15:45:33 | R | UTF-8 | R | false | false | 12,004 | r | diag_function.R | #' @title Get diagnostic performance evaluation of some qualitative procedure
#' @description Get diagnostic performance evaluation of some qualitative test
#' @param data a data.frame, containing the diagnostic result
#' @param goldStandard a character vector of length one, containing the colname
#' of the gold-standa... |
f106b5c9a493cb853b11f79b278106c08fde6fec | 766d0f2acc322c618a6101150ffac74526e54094 | /old_scripts/nba_project/by_player/read_in.R | 7e906b268e92191d434c0f876d6d21ec123bcbea | [] | no_license | benmbrew/nba_data | 7737010e397a15d61bba89fdabb634919f3fa822 | 9db314734541ccc13075ca1c78eb876e0111b670 | refs/heads/master | 2022-07-14T13:21:38.623659 | 2020-05-09T16:09:01 | 2020-05-09T16:09:01 | 110,999,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,071 | r | read_in.R | ##########
# LOAD LIBRARIES and read in data
##########
library(broom)
library(tidyverse)
library(ggthemes)
library(lubridate)
library(doParallel)
library(caret)
library(glmnet)
registerDoParallel()
# source functions script
source('functions.R')
# read in data
dat_2015 <- read_csv('../../Data/player_stat_2015_16.csv... |
a23f6ce93debe83d1fae39342cd6062bddf8e548 | 648ceb127101da98e0371f90e83c2613b20ee5d1 | /man/almost_equal.Rd | 3b47876510f7bf40a6b9bc673e96595b8cf3dc94 | [] | no_license | paulponcet/bazar | b561b9914300d4eb72d998028b4c2db061f9b07e | cacccfed36ed5650dbef2e78f584e0c07c321581 | refs/heads/master | 2021-01-11T21:59:55.950238 | 2019-07-13T23:51:42 | 2019-07-13T23:51:42 | 78,890,817 | 0 | 0 | null | 2019-04-05T09:14:21 | 2017-01-13T22:12:23 | R | UTF-8 | R | false | true | 921 | rd | almost_equal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/almost_equal.R
\name{almost_equal}
\alias{almost_equal}
\alias{almost.equal}
\title{Test (almost) equality of numeric values}
\usage{
almost_equal(x, y, tolerance = sqrt(.Machine$double.eps))
almost.equal(x, y, tolerance = sqrt(.Machine$doub... |
59994180831b1ea8bb45b263cb5ef595d12ebf98 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ExpDes/examples/bartlett.Rd.R | 57fad5e3d452c4ad32a573c186a037dcc3de7686 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 203 | r | bartlett.Rd.R | library(ExpDes)
### Name: bartlett
### Title: Test for Homogeneity of Variances: Bartlett
### Aliases: bartlett
### ** Examples
data(ex1)
attach(ex1)
crd(trat, ig, quali = FALSE, hvar='bartlett')
|
e664c2d34fd8facd33dcfaecd3d60837bf7d08eb | 28e2a38eff19990eb249c50e10a9d23239d1fad9 | /ds.R | 2f55d10cba3454aa299859a89127ed5656af912c | [] | no_license | susarthak/analytics | d27eec9a1fec1164391c7718c5df1a64686ae50b | 26bcf713c562e1535d9b45b4c6b31e8351f22e32 | refs/heads/master | 2020-03-30T06:38:19.166144 | 2018-09-30T06:47:24 | 2018-09-30T06:47:24 | 150,876,664 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 63 | r | ds.R | #data structure in R
#Vectors
#Matrices
#Arreys
#Factors
# |
194433edc8e6ef8123ee4d970110194dcc822f99 | 09b8d42258b903f53c5c598f6a2ec35405a9c593 | /man/get_current.Rd | 6ba0f39b332ea6f14dad44914cad8ae181be2363 | [
"MIT"
] | permissive | BigelowLab/fullobis | 2801cb42714541da5250b4450c9229185bd6a3d9 | c2f16fc14293879c574e7fb6f4ba13e7635da1ba | refs/heads/main | 2023-09-03T16:35:34.910292 | 2021-10-26T18:21:35 | 2021-10-26T18:21:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 596 | rd | get_current.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/options.R
\name{get_current}
\alias{get_current}
\title{Retrieve the most recent parquet filename in the root path}
\usage{
get_current(root = get_root(), pattern = "^obis_.*\\\\.parquet$")
}
\arguments{
\item{root}{character, the root path t... |
bd37d920471d65018d879dc41f33e5d15b0b025a | db1378ea65c6566da37ddfc35a087f9f3187f78f | /distToLargeShed_calledFromToolbox.r | 513203da297e459515fbb670536428c341a15dc8 | [] | no_license | asruesch/hydrographyAttributionToolbox | b1c0ae1d452214959f00406ccd0d38742f45b747 | 22faf25b3d2b2fe15a5271c8cd929fe1be3f2405 | refs/heads/master | 2020-06-05T02:57:46.547356 | 2014-11-04T15:51:10 | 2014-11-04T15:51:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,717 | r | distToLargeShed_calledFromToolbox.r | #script to run trace to watershed of designated size
#currently runs trace whether or not there is a dam between feature and great lake, with idea that dam
#presence/ absence could be an additional output
#also, currently does not aggregate duplicate features such as lakes
#what to do with features with no watershed b... |
5a8cd7b61d691d6cd936d17a145529628f79dbe0 | f5502bea857396ec669339f268f37c77f0ceb805 | /R/fetch_excel.R | 82d600fe54a70764bd06daf7a1e62c742b435adc | [
"MIT"
] | permissive | roboton/covid-covariates | 0646191e20596db2a4f5b9f7fa9fde7ab281c159 | b7e962017e5e71a78d1eb8ed9eaa379d9db401b3 | refs/heads/master | 2022-11-22T06:43:04.250917 | 2020-07-27T11:35:56 | 2020-07-27T11:35:56 | 262,303,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 307 | r | fetch_excel.R | ##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##'
##' @title
##' @param url
##' @param skip
##' @return
##' @author roboton
##' @export
fetch_excel <- function(url, skip) {
GET(url, write_disk(tf <- tempfile(fileext = ".xlsx")))
read_xlsx(tf, skip = skip)
}
|
b98998030e51621ab7680d6f132cf3e3e46763b8 | aa6750ab3a907068b03d426930bfd6bca80ade7c | /iris.r | 8c1fefd7c05f37418955312ec88345a284eb6773 | [] | no_license | scott1541/QA_R | 9ab2aa2d283fa0114a9e4e8204e7cb8727a519a0 | c03f15c382b832a4c83efe6770510681fa55142a | refs/heads/master | 2021-06-24T05:00:27.520890 | 2017-08-18T15:20:57 | 2017-08-18T15:20:57 | 100,287,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 231 | r | iris.r | library(ggplot2)
subdata <- subset(iris, select=c(Species, Sepal.Width))
#qplot(subdata[1,1], subdata[2,2])
ggplot(iris, aes(x = Species, y = (Sepal.Width * Sepal.Length)), ylab="Sepal Area") + ylab("Sepal Area") + geom_boxplot() |
fd9b419f3b1cf8c0b8e2a2eeed71396443d7c2db | 3b951e50d7736094949de478200d9664491c91ff | /man/duos_pp.Rd | 1f6ac113592d2636584eda7f4df23d6493813834 | [] | no_license | reykp/biRd | 35a8035c73927e1abef246dd08e678b52a6ab6ae | 42eae63a4f0bcd01628421564a3e08222fe3fd9c | refs/heads/master | 2020-03-23T00:28:15.662132 | 2018-11-11T22:36:42 | 2018-11-11T22:36:42 | 140,865,408 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,753 | rd | duos_pp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duos_pp.R
\name{duos_pp}
\alias{duos_pp}
\title{Plot the Prior vs. the Posterior}
\usage{
duos_pp(duos_output, parameters = "c", burnin = NA)
}
\arguments{
\item{duos_output}{The list returned by \code{duos} containing the density estimate re... |
f69d28e5872eff8f169cab10a0f67a338964284d | 30f0b1342eae63ade69e5943610962f50d8b8752 | /man/enrichmentBarPlot.Rd | be4ccb4d4e35843c2b9cbcda91c452215f054fdf | [
"MIT"
] | permissive | remap-cisreg/ReMapEnrich | c9d3729b768bfd1f66b79403e306a59cc8e71c02 | cb46422f23894d674a78941cb1958f3b9b7bc899 | refs/heads/master | 2022-02-11T11:25:06.093352 | 2021-11-23T15:43:11 | 2021-11-23T15:43:11 | 173,947,338 | 12 | 4 | null | 2022-02-02T13:41:17 | 2019-03-05T13:01:24 | HTML | UTF-8 | R | false | true | 1,652 | rd | enrichmentBarPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/enrichment_bar_plot.R
\name{enrichmentBarPlot}
\alias{enrichmentBarPlot}
\title{Enrichment bar plot}
\usage{
enrichmentBarPlot(enrich,
top = 20,
main = paste("Significance, top", top, "categories"),
aRisk = 0.05,
sigDisplayQuantile = 0.95,
c... |
22e7a61b7dcc53c8b433d23449c3c742ac176223 | 29585dff702209dd446c0ab52ceea046c58e384e | /rchallenge/R/new.r | c7ed3abea8c1e72394deabd94ff4088b5e0ca862 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,302 | r | new.r |
#' Install a new challenge.
#' @param path string. install path of the challenge (should be somewhere in your Dropbox).
#' @param out_rmdfile string. name of the output R Markdown file.
#' @param recursive logical. should elements of the path other than the last be created? see \code{\link{dir.create}}.
#'... |
9e753c843fd05f109836bf01ebf72e5fe9f3a109 | 26dea210be60fafab93c89e4bb11d5ff9edeba72 | /02Advance/107Car_Package_recode__lo.R | 36893ab11b0f64f040bb970a5cb98542d2a3b6c9 | [] | no_license | MomusChao/R | a71df4f7430d644c18f853ad4f06b0838d5545c9 | 014c8e5ec43dc5d02b9faa41b49032ed5c340439 | refs/heads/master | 2021-06-19T02:21:11.297723 | 2020-12-09T22:28:18 | 2020-12-09T22:28:18 | 83,297,248 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | 107Car_Package_recode__lo.R | library(car)
x = c(1,2,3,4,5,6)
#lower 3: 0
recode(x,"lo:3=0;4:6=1")
recode(x,"lo:3=0;else=1") |
c5a673aef52ed26320e7bb4ad2ede9963a08e5e8 | adb25ca2c79dc1e26c54dcef224bb7e3c19a8499 | /Project4/Isabel.R | a475aed18c28a4c1c491fdb9135012cb0b1f4266 | [] | no_license | wangweiyi722/data-analytics | 528f1418747d6210e3fa38b962774f4094699b0c | e7f478b96560ae70d789c551f0de5c5042fcd3f2 | refs/heads/master | 2020-03-15T23:05:12.622653 | 2018-05-07T00:26:21 | 2018-05-07T00:26:21 | 132,386,552 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,350 | r | Isabel.R | require(MASS)
require(ISLR)
require(tidyverse)
library(ggplot2)
library(dplyr)
project<- "https://data.world/wangweiyi722/f-17-eda-project-4"
<<<<<<< HEAD
df_orig <- read.csv("https://query.data.world/s/hvA1ht-J0O9mzt550iY43aXKb5fGDl", header=TRUE, stringsAsFactors=FALSE)
names(df_orig)
=======
df_orig <- read.csv("h... |
0b9054f422e2bf377c9e3317eac06c1bc759d91a | 28f2d711ec0590e3f5f703ef4a6e652412028e97 | /signals_int.R | fddea1ddf45605c55273ae78031c847ce0010e1c | [] | no_license | user05011988/shinyinterface | 3ef9d2d0a1135c78de38eda0b716616176eab03c | 74007fb624520d886b7e373a9d591c0317b49be2 | refs/heads/master | 2021-01-13T10:30:18.975254 | 2016-10-24T13:25:51 | 2016-10-24T13:25:51 | 69,452,240 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,402 | r | signals_int.R | signals_int = function(autorun_data, finaloutput,spectrum_index,signals_introduce,ROI_profile) {
#Preparation of necessary variables and folders to store figures and information of the fitting
ROI_buckets=which(round(autorun_data$ppm,6)==round(ROI_profile[1,1],6)):which(round(autorun_data$ppm,6)... |
154e8b0f178bef387926e86feaa9e6b69eb82688 | 3fd1b4568372ca3f8badd4a311d22deb200a8aa2 | /experimentation/chi-square-vs-z.R | 16488803ceafb207d34008318e32c364e4acf27e | [] | no_license | javidjamae/data-science | 8824005e47e86acaa60b9fb2d63966bf48f1e15f | 5f789a4cd7b24b8e92050eb6caa682f327fb37f5 | refs/heads/master | 2023-09-03T01:55:29.177011 | 2023-08-31T04:24:23 | 2023-08-31T04:24:23 | 285,351,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 407 | r | chi-square-vs-z.R | confidence.level = 0.95
a.successes <- 188
a.trials <- 2069
b.successes <- 591
b.trials <- 1000
res.prop.test <- prop.test(
x=c( a.successes, b.successes ),
n=c( a.trials, b.trials ),
conf.level=confidence.level,
p = NULL,
alternative = "two.sided",
correct = F
)
print( res.prop.test )
res.fisher.tes... |
c77138a346b0e80cef3ab2f99c9d1ea4654e7ca6 | e37ea30ceec20595bda039465f4e5db64acd9e3d | /getPCA.R | 60a03336b37b1d754a5e5312dd677c45f26ae51f | [] | no_license | BTFProdigy/DumpScripts | 1546c136c8cd37ee82a27fbc2c8f92d8fb3b8476 | 9f8e6f3acec70aced17fa4a657cfaae9dd843146 | refs/heads/master | 2021-12-13T18:29:27.273300 | 2015-08-05T07:21:28 | 2015-08-05T07:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,054 | r | getPCA.R | ###################################
# PCA on the randomly picked loci #
###################################
getwd()
get_dataSets <- function(dataset,inputs=FALSE, Colmat_dim, selected=FALSE, selection){
# dataset : input table
# inputs as a vector, e.g : c("X008","X195")
# Colmat_dim = dimension of matrix s... |
52521bbe55af1c78446c77503ff740e9f596e366 | c5a51f5047e5bbad48ef42101b561c7b4fb02bb7 | /man/ConquerRing.Rd | ef16b0dc977736a26b5116cbb938c46bcc1aa726 | [] | no_license | roderickslieker/CONQUER.d3 | ee7eb14c69c1ef87aafe352a21dcb19201acaf38 | bd38bb4a27dc00b92ad2dff6cd0317bd02fedcf3 | refs/heads/master | 2021-04-23T21:02:10.004179 | 2021-01-06T08:12:37 | 2021-01-06T08:12:37 | 250,003,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 543 | rd | ConquerRing.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ConquerRing.R
\name{ConquerRing}
\alias{ConquerRing}
\title{ConquerRing}
\usage{
ConquerRing(
conquerSummary,
tissue,
KEGG_DATA,
hoverID,
width = NULL,
height = NULL,
elementId = NULL
)
}
\arguments{
\item{conquerSummary}{conque... |
39b58399f138601d7a99b1f434c5bce69f877869 | 5fbd7b46fe555db6271ddd423ff74039e989f4a2 | /Course9/myApp/plotlyDemo.R | cffa243f03c416b3965d10b229d409dd7fdb1eff | [] | no_license | TD0401/datasciencecoursera | b3efa4cbf15a20fb287c8dfbffee013a0dfabcea | 0c369e98f9db1a830cae9df1ca3a7ca1f69ed7bc | refs/heads/master | 2023-02-12T02:54:43.759691 | 2021-01-03T18:44:06 | 2021-01-03T18:44:06 | 263,995,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,968 | r | plotlyDemo.R | library(plotly)
#scatter plot with color as factor
plot_ly(mtcars, x= mtcars$wt, y = mtcars$mpg, mode = "markers", color = as.factor(mtcars$cyl))
#with continuous color pallete
plot_ly(mtcars, x= mtcars$wt, y = mtcars$mpg, mode = "markers", color = mtcars$disp)
#size ofpoints vary
plot_ly(mtcars, x= mtcars$wt, y = m... |
fc01e5231321476715755a5626ef1c3e002455ce | 7ee7666d0b6f280d8081359d11f5230bb91a502d | /HSData/RCode/NPRtop100.R | 37f44c5a437e6d95f50fd733a25f1b647bc0838c | [] | no_license | zhianwang/HMAResearch | d9bace5abed00ccbdc269c937da4c867369fc23f | 5fbdc95eebb648242c4df18dacec13e72e3386fd | refs/heads/master | 2020-04-02T01:00:06.082167 | 2018-11-15T18:48:25 | 2018-11-15T18:48:25 | 153,832,459 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,887 | r | NPRtop100.R | library(dplyr)
library(purrr)
library(magrittr)
source("RCode/GM11.R")
# NPR Top 100 been split into 3 part: by System, by Hospital, and UCLA -----------------------------------------------
allhs <- read.csv("Result/allhs1116_1017.csv")
hospital_data <- read.csv("Result/hospital_data_1017.csv")
# Remove location info... |
62c55866a67c5e71fbfde0d3be0c90b4e7d2b9ba | 7786980abbb9f9f92d0ba45a6b526066bc4f77b8 | /man/inspect_mem.Rd | 9cfa3f629e56f8a74d9ff205587257d6bcdd8699 | [] | no_license | alastairrushworth/inspectdf | d2fc64d31da1e903b43eea7c9aec893bb27c6759 | 5c516e3ee28c63a56622948ab612bc8f3d48ba47 | refs/heads/master | 2022-08-29T15:37:21.670913 | 2022-08-09T06:14:32 | 2022-08-09T06:14:32 | 157,981,172 | 251 | 23 | null | 2022-08-09T06:27:38 | 2018-11-17T12:12:30 | R | UTF-8 | R | false | true | 2,284 | rd | inspect_mem.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inspect_mem.R
\name{inspect_mem}
\alias{inspect_mem}
\title{Summary and comparison of memory usage of dataframe columns}
\usage{
inspect_mem(df1, df2 = NULL)
}
\arguments{
\item{df1}{A data frame.}
\item{df2}{An optional second data frame wi... |
af8ec103848952bdcdde54e7e1e825d2f216cc7c | 6cee21d59ec656812104724c7eba613b4b042b1b | /man/jb_figure.Rd | e3fc04206a0b43c17ea2a60d8467136a123e68d4 | [] | no_license | barthelmes/jenshelper | f218272440fa4d0322f9c2284d3fda0840067681 | 102c2e21a95bd5ae460efc9b7c732c4a2baa18c6 | refs/heads/master | 2022-10-04T22:26:30.618047 | 2020-06-09T22:47:02 | 2020-06-09T22:47:02 | 265,327,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 613 | rd | jb_figure.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/jenshelper.R
\name{jb_figure}
\alias{jb_figure}
\title{Plot survey bar plots}
\usage{
jb_figure(df = des_amy, out = fida, upper = NA, pal = "tol3")
}
\arguments{
\item{df}{a survey design obsject (survey or srvyr)}
\item{out}{a single variab... |
13b2a39f566c1333020657c06c78a883f11a8e51 | 990c6fb245b95d8c501cc46e899a2ff789941b38 | /server.R | 446658c3097893ec02f665f21b28b093dd9618b7 | [] | no_license | lynn9691/CourseProjectDataProducts | 03806bcacddbb41b8720bfae368d4bccc0cf8f63 | d9b44d1bdf6377657b5e9404736bf37c038eed9c | refs/heads/master | 2021-01-19T12:24:05.702525 | 2017-08-19T09:09:50 | 2017-08-19T09:09:50 | 100,782,582 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,516 | r | server.R | library(shiny)
shinyServer(function(input, output){
cars$speed2 <- cars$speed ^2
model1 <- lm(dist ~ speed, data = cars)
model2 <- lm(dist ~ speed + speed2, data = cars)
model1pred <- reactive({
speedInput <- input$sliderSpeed
predict(model1, newdata = data.frame(speed = speedInput))
... |
88824ee59e6eab3ec47b65fa081034388ab144fa | 7b99e0516455a5e61f010dd7015da2461117263e | /playground/network-vectorized-speed-benchmark.R | 4d360d7b9fc05bc6bb40b42aefb6a93c547f3b89 | [
"MIT"
] | permissive | muriteams/ergmito | 75ec8830de7bcf47250c2038f418123eb9fc9c9e | f3a2ede1ed3a97eaed71987ec5b555a853cbd11d | refs/heads/master | 2023-06-25T08:57:37.368032 | 2023-06-13T19:46:18 | 2023-06-13T19:46:18 | 157,758,250 | 9 | 1 | NOASSERTION | 2020-07-06T05:17:20 | 2018-11-15T18:56:47 | R | UTF-8 | R | false | false | 1,332 | r | network-vectorized-speed-benchmark.R | library(ergmito)
library(network)
set.seed(12)
A <- rbernoulli(50)
net0 <- network(A)
net1 <- ergmito:::matrix_to_network(list(A))
library(bench)
ans <- bench::mark(
ergm = network::network(A),
ergmito = ergmito::matrix_to_network(list(A)),
check = FALSE,
relative = TRUE,
iterations = 100
)
plot(ans)
a... |
83acbba612229052fe71a526b71089b2ca337fe1 | a53f9549684c68be1756f4ccab3ada48c2f4a4ff | /2.0.1/p_V_AT.R | e570a747b7ba55ce15c1181fd9babef660f70770 | [] | no_license | ponasmontecarlo/Simulations | 1fa986c0ec8c1d495a6dc59864e366f5c55e4fdd | c454bc662fd8c7a0d19133f44ce9ea54c17c6ffd | refs/heads/master | 2020-05-26T17:59:22.287515 | 2014-05-12T13:41:53 | 2014-05-12T13:42:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,003 | r | p_V_AT.R | library(pracma)
library(mnormt)
##############################
orthoT <- function(d){
matrica <- matrix(data=NA,nrow = d, ncol=d)
for (i in 1:d){
for (j in 1:d){
matrica[i,j] <- rnorm(1,0,1)
}
}
matrica <- gramSchmidt(matrica, tol = .Machine$double.eps^0.5)
matricaT <- matrix(data=NA,nr... |
0ff2d9732650e2496b349c4ebcd98b045296b827 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pbatR/examples/ped.Rd.R | 73463918752018a8f7ae3839fd7e2c91d1629bc3 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,388 | r | ped.Rd.R | library(pbatR)
### Name: ped
### Title: Pedigree Object
### Aliases: as.ped as.pedlist is.ped is.pedlist read.ped fread.ped
### write.ped is.pped as.pped read.pped sort.ped plotPed ped.markerNames
### Keywords: interface
### ** Examples
# A highly artificial example with not enough subjects to be run;
# however,... |
b19098c5f92defc997db146e75698cae989aa70f | 2497f1e60663301ca24886d0cd8d8fe645641fca | /plot4.R | e5558d85e2094e5064058bc58c30b76e504bae2e | [] | no_license | DB-2/ExData_Plotting1 | a5dc575152c6e04077284e6bfc11f4f57063744d | 3848df0766431cf418689de2207b092097bc49bf | refs/heads/master | 2021-03-05T18:18:01.971146 | 2020-03-09T21:00:45 | 2020-03-09T21:00:45 | 246,140,512 | 0 | 0 | null | 2020-03-09T20:57:01 | 2020-03-09T20:57:00 | null | UTF-8 | R | false | false | 1,978 | r | plot4.R | ## This is the script to produce plot4.png file
## Author : DBarry
## The plot is a line plot in base R based on the energy power consumption file below
## with displaying 4 graphs in 4 quadrants using par(mfrow=c(2,2))
## Read the zip file
temp <- tempfile()
download.file("https://d396qusza40orc.cloudfront.... |
180879776c5a552b77249bce15e7d4d68ccb800b | 4ce0a8e66ad3694a60840ab3cd3c34ea82de94ea | /rdev/R/update.R | 532bcb927b8020967f050e2eaaf04e009a7b96c2 | [] | no_license | curtisKJ/mrgsolve | 5549fe81796e5dcd7172462624d016abe58bedc5 | 05818cc861e467db08a04b65af59d783bdd16a53 | refs/heads/master | 2021-01-17T11:33:21.588950 | 2016-05-17T06:12:23 | 2016-05-17T06:12:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,525 | r | update.R | ## This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
## To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
## Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
setAs("NULL", "character... |
0d48cfb8d978c281454f955746959d74530fe553 | 9f57e0ad44b78d809c262fa0ffb659232fdb8d5e | /general-prob-stat/solve_markov.R | ef014070ca3429301f436f680df98f6a3c22c258 | [] | no_license | abhi8893/Intensive-R | c3439c177776f63705546c6666960fbc020c47e8 | e340ad775bf25d5a17435f8ea18300013195e2c7 | refs/heads/master | 2020-09-22T00:57:36.118504 | 2020-08-31T09:23:57 | 2020-08-31T09:23:57 | 224,994,015 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 193 | r | solve_markov.R | stnry.distr <- function(P){
n <- nrow(P)
A <- rbind(P - diag(1, n), 1)
b <- vector("numeric", n+1)
b[n+1] <- 1
x <- drop(solve(t(A) %*% A, t(A) %*% b))
return(x)
}
stnry.distr(P)
|
fe85871d9451cc5149c2177dae23ead23463d628 | d4a41995051a487669e2cee9a7781d78899ab83d | /man/excludeWords.Rd | 3e7dac88999c2165cf05e8d1373caf2986939472 | [] | no_license | lupok2001/patentr | df4b1c3e9c2205b14e2473b856475ddae43fca2a | fdb851193455a94f4c496c3984f5a3e1127dd655 | refs/heads/master | 2020-03-11T03:33:46.056792 | 2017-07-17T00:14:57 | 2017-07-17T00:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 434 | rd | excludeWords.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{excludeWords}
\alias{excludeWords}
\title{A standard list of words to exclude in a patent word cloud.}
\format{A character vector.
\describe{
\item{excludeWords}{A character vector of words to exclude}
}}
\usage{... |
f844520290e3d086cdd533b834830141b3e417e8 | 32a9905718d86aee7dbbcf1dcaceb9d81248a1e1 | /Week1/Data-Science-Capstone-Healthcare.R | c7a59e99960e9f47fce608ae15bed1bd3572bd5f | [] | no_license | ApLife1827/Data-Science-Capstone-Healthcare | 3453e9feffaee3d2de49a5e95fd902c7c7de47c8 | d4471e416fddae7307752bdcabaee7e27cca20af | refs/heads/main | 2023-05-07T19:42:14.118465 | 2021-05-29T05:05:51 | 2021-05-29T05:05:51 | 365,283,247 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,110 | r | Data-Science-Capstone-Healthcare.R | library(dplyr)
#Path of dataset
setwd("D:/aVDHOOT/SimpliLearn/Data Science Caption/Project 2/Healthcare - Diabetes")
getwd()
#Loading Dataset
data<-read.csv("health care diabetes.csv")
#Discriptive Analysis
View(data)
str(data)
summary(data)
#Handling Missing Values
table(is.na(data))
hist(data$Gl... |
1729f7de33950ad6e1ca322b2e5174ed5b06709a | 9cbe1f47f7cb14c85d69ab3d57539b82914a8a0d | /Weekly/week7_income.R | 25436762054c4e4d4e89592ce2b3b71e171f2f6a | [] | no_license | trippv/TidyTuesday | e53d57cc44279e3d9b52f2a31c20ad766c6581c7 | 135174504ecce7be58922f63a5383930b044e723 | refs/heads/main | 2023-03-10T19:04:04.637635 | 2021-02-27T21:06:44 | 2021-02-27T21:06:44 | 327,209,315 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,961 | r | week7_income.R | library(tidyverse)
library(here)
library(skimr) # view data summary
library(ggrepel)
# Read data ---------------------------------------------------------------
income_distribution <- readr::read_csv(
'https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-02-09/income_distribution.csv... |
48e2a1f716c2abba4addc52fafd27bc130bcc76b | 862562e3b247cd95321195d91b46bf5d73b9596c | /man/otc_estimator.Rd | 828022b26a129667948a3e4ac6995006371a85da | [] | no_license | bsaul/dr | dd6b733dfaf935b83423aaa0431f2ba23ad1c7a6 | 327f3537fcd70b4b62bb3e3b2a9cfa628fcbf3f7 | refs/heads/main | 2023-04-07T09:35:48.876785 | 2018-11-27T15:35:15 | 2018-11-27T15:35:15 | 358,607,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 330 | rd | otc_estimator.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estimators.R
\name{otc_estimator}
\alias{otc_estimator}
\title{Makes OTC (outcome based) estimator for group-level data}
\usage{
otc_estimator(data, models, randomization, ...)
}
\description{
Makes OTC (outcome based) estimator for group-lev... |
d6f694823e032ce5d80d500d9b209fa370eafa66 | bc5f18c64d9e46db53126976834f617054edb35e | /man/t3way.Rd | 8fc061526f983c730e9846ef666fbc4296d5e2b3 | [] | no_license | cran/WRS2 | d7a6e48fca12e5c892b1c1ecc4ae1a151b485f2c | da65525b80d08bcdaa5d155e5db6e4670b615788 | refs/heads/master | 2022-06-30T08:31:33.772817 | 2022-06-10T15:33:29 | 2022-06-10T15:33:29 | 25,037,146 | 1 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,663 | rd | t3way.Rd | \name{t3way}
\alias{t3way}
\alias{print.t3way}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{A three-way ANOVA for trimmed means.
}
\description{
This function computes a three-way ANOVA for trimmed means with all interactions effects.
}
\usage{
t3way(formula, data, tr = 0.2, ...)
}
%- maybe als... |
c94df356fe933b21d384c589eb0e6a68623053f4 | 2d894fdf18957d978d387d65913c0910b3cb7f4d | /data-analysis-and-statistical-inference/lab-1-introduction-to-data-2/Subset - one last time.R | 85c4adfb3feb5057bd3dc58203439a708ba6021b | [] | no_license | oliverwreath/R_Practise | 1c774499cc4aaccbe4c812a1905740dbf5c5ec15 | e5534c38cd7cf7f7ea6cb17785b46f921f987089 | refs/heads/master | 2020-04-05T22:59:07.054485 | 2015-02-05T06:38:06 | 2015-02-05T06:38:06 | 30,278,555 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 211 | r | Subset - one last time.R | # The cdc data frame is already loaded into the workspace
# Create the subset:
under23_and_smoke = subset(cdc, cdc$age < 23 & cdc$smoke100 == 1)
# Print the top six rows of the subset:
head(under23_and_smoke)
|
75877affd399ca7ad2305b9b6199dc5192af32ff | d478e6abcd6b3fe714b4cf57a3ed79ee4a7c6466 | /scripts/scripts_analysis/build95_primetime/tf_activity_analysis_with_background.R | 24d9dc6a22a823911b58eac47cd77cd592f5282e | [] | no_license | jakeyeung/scChIC-analysis | 45e4d2e6a1e1bd7719142694d24543d29cd7cfc3 | f754aec5a4115fdede5c099f341d3f10e1a72bff | refs/heads/master | 2020-06-02T23:09:33.060721 | 2019-06-11T09:20:17 | 2019-06-11T09:20:17 | 191,337,903 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,254 | r | tf_activity_analysis_with_background.R | # Jake Yeung
# Date of Creation: 2019-04-04
# File: ~/projects/scchic/scripts/scripts_analysis/build95_primetime/tf_activity_analysis_with_background.R
# Background of TF activity
#
library(data.table)
library(dplyr)
library(ggplot2)
library(scales)
library(JFuncs)
library(umap)
library(ChIPseeker)
library(GenomicR... |
de6d2284a7913c6b16b13416b77228cad67e53f2 | bc3a58c0f3abd24f4f64f641152c09b79efefe38 | /man/subsetExpressionSet2DS.Rd | 4c27fe65538624ae1640f31cee3efb6222ce0bb0 | [
"MIT"
] | permissive | isglobal-brge/dsOmics | 96aa2594cbe009f2899d99fdc5be43a96f50d6bf | 78fee19320cdf360db7ec1aed2fb07ee4c533951 | refs/heads/master | 2023-04-07T09:23:17.202083 | 2023-03-15T09:31:40 | 2023-03-15T09:31:40 | 158,839,360 | 1 | 12 | MIT | 2021-02-02T10:21:06 | 2018-11-23T13:55:17 | R | UTF-8 | R | false | true | 316 | rd | subsetExpressionSet2DS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subsetExpressionSet2DS.R
\name{subsetExpressionSet2DS}
\alias{subsetExpressionSet2DS}
\title{Subset ExpressionSet}
\usage{
subsetExpressionSet2DS(eSet, n_ids)
}
\value{
Subseted \code{ExpressionSet}
}
\description{
Subset ExpressionSet
}
|
f7d57d82ab3c28809fc6296e31cdb6eb29c0b63f | ecda5a82a32b9e5bcd4be7bc779b887bb504718d | /Figure_1.R | 326134e655bf6c8cd499c74166e6b7cabeefe8ea | [] | no_license | bongsongkim/BLUP | 1a47b759f4ebbe074edfe0026fbfb45c7dab2b10 | 232856290e66d99f3affd511dc804cb93d02c5f5 | refs/heads/master | 2021-07-09T11:03:54.332648 | 2020-08-04T03:42:39 | 2020-08-04T03:42:39 | 173,872,130 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 424 | r | Figure_1.R |
# Figure 1(A) Correlation between Naive-BLUP and K-BLUP
dat1 <- read.csv("https://raw.githubusercontent.com/bongsongkim/BLUP/master/raw_data/Naive-BLUP_estimates.csv",header=T)
dat2 <- read.csv("https://raw.githubusercontent.com/bongsongkim/BLUP/master/raw_data/K-BLU... |
23ecd552463295455b782d31c3e12871fb41b451 | 7dcd8ca463f3d0d727ed631a35ef112d38d193f2 | /R/2. Operations on File/file.R | 3ab132bcae87a16c1218fa4bfb7a29845999edec | [
"MIT"
] | permissive | shoaibrayeen/Data-Science-With-Python-And-R | 03b38da9e8b0ebead34c51efa44f7e5052f773c4 | 2f4f398a2ea414395c4ff04b38c777f96f78bab2 | refs/heads/master | 2021-07-10T23:38:10.627283 | 2020-10-06T05:02:32 | 2020-10-06T05:02:32 | 199,718,898 | 0 | 1 | MIT | 2020-10-06T05:02:33 | 2019-07-30T19:59:58 | Jupyter Notebook | UTF-8 | R | false | false | 993 | r | file.R | trainData <- read.csv(url("https://cdn.skillenza.com/files/fd584fdd-89b4-47eb-a0f5-a8ac67842920/UNI.csv"))
testData <- read.csv(url("https://cdn.skillenza.com/files/b14b0903-97fd-4a41-8b66-aaa301f5fd8e/unitest.csv"))
write.csv(testData, file = "./CSV Files/test.csv",row.names=FALSE )
write.csv(trainData, file = "./CS... |
c52adde3342bf481cf2b11471c99ee0755dadb6d | a808c4c6fee16ffc5a03bfc09745b4930e2f52f8 | /cachematrix.R | 85b4cac58148dba643aaf0d2fd1660f356d57bd5 | [] | no_license | CathySunRprogramming/RProgrammingAssignment2 | 7c9b8b9303dbc3d8d98df20d3495d0e4c7af3ebe | 2046fa3e965f20c1bcd6be31fc0ff6579233fa69 | refs/heads/master | 2021-01-15T19:28:19.212424 | 2015-01-24T22:40:34 | 2015-01-24T22:40:34 | 29,793,847 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,120 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## These two functions cache the inverse of a matrix
## Write a short comment describing this function
## 'makeCacheMatrix' function creates a special 'matrix' object
## that can Cache the inverse of matrix x
makeCacheMatrix <- functi... |
cd0c10d04dd92d1c437450b1cfb590d9285b81ee | be6be601a94983030e0dd71a28bb0d1e46192dd9 | /r/07_run_sql_union_all.R | a5f67ce9815ec0deaaa28489cf58224dc75eccd7 | [] | no_license | andrw-jns/ipu_forecast | 838c7eaedd1d6e9bd09b1026e71765b3fd8ef97e | 4721c1c29167c1c0e2f57e8cd3435618d52bb66d | refs/heads/master | 2020-03-14T16:12:18.461535 | 2018-06-19T15:33:45 | 2018-06-19T15:33:45 | 129,732,198 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,998 | r | 07_run_sql_union_all.R | ##############################
"PROXIMITY TO DEATH:"
"UNION GROUPED DATASETS"
##############################
library(tidyverse)
library(dbplyr)
library(DBI)
library(odbc)
con_sw <- dbConnect(odbc(),
Driver = "SQL Server",
Server = "MLCSU-BI-SQL-SU",
Datab... |
ee4aaaf9971c2ea3b0f553fdf18597cd5bf11882 | bdbf8ef9a130b38a00fc305973daa56ec4763290 | /man/predict_check_input.Rd | aecfb84fa1a7714fe5cccebb41d1286d9846ad21 | [
"MIT"
] | permissive | qianshangzen/BGLR-R-package | 9e5d73756d80f2280d918f6ca68114c1e28661ab | 151129e30bc140fc09c0159cf46d94fed102fa9e | refs/heads/master | 2022-11-27T16:19:17.950153 | 2020-08-11T22:35:31 | 2020-08-11T22:35:31 | 286,858,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,023 | rd | predict_check_input.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict_check_input.R
\name{predict_check_input}
\alias{predict_check_input}
\title{Checking if all inputs are valid for function predict_blrf.
If not valid input exists, terminate program and output error message.}
\usage{
predict_check_inpu... |
c63dbf4037e9a25a705630e4aee032f93d2f0757 | 9a1fba7d7f050275a958df3b18212a19d454524c | /Aula 1/vetor.R | 480140ae7007e8f7ac92a73fa3d0146ee07bc809 | [] | no_license | Marcelo391/Curso-R-Coti | a20dbfd3f8fe62c89023128d7314360784b1f1ce | f183a7a3ab86b992f2f2eb577b200620a0100b91 | refs/heads/master | 2021-05-22T18:20:09.409843 | 2020-05-02T15:55:35 | 2020-05-02T15:55:35 | 253,037,019 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,012 | r | vetor.R | #VETORES
#Atribuição
a = 10
c <- 10
a
c
#Pesquisa/Help sobre uma função
?c
#Criação de vetor
vetor <- c(1, 2, 3, 4, 5, 6)
#executar
vetor
#Vetor de caracteres
nomes <- c("Marcelo", "Sarah", "João")
nomes
#posição do vetor <- Primeira posição no R é sempre 1
nomes[1]
vetor[0] #<- Não existe
# Tamanho Vetor
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.